ch_dlg.dcl — Chamfer Configuration¶
File: ch_dlg.dcl
Version: v3.60
Category: Dialog Definitions
Size: 6.8 KB (194 lines)
Note
Edge Treatment Feature
Configure edge chamfers (bevels) on panel edges for aesthetic finish and chip prevention. Simple but commonly used feature.
Functional Purpose¶
What This Dialog Does¶
Panel Edge Chamfer Configuration
The ch_dlg provides edge treatment design:
Specifies chamfer size (1/2”, 3/4”, or 1”)
Sets placement (top edge, bottom edge, or both)
Controls multiple edges (main panel + features)
Text-only option (chamfer note without drawing)
User Need¶
Aesthetic & Functional Edge Finish
Users need chamfers for:
Aesthetic edge finish (professional appearance)
Chip prevention during handling/transportation
Sharp edge safety
Architectural requirements
Standard practice for exposed edges
Typical Workflow¶
Adding Chamfers to Panel:
1. User in mp_dlg clicks [Chamfer]
2. ch_dlg opens
3. User enables main panel chamfer (cht1)
4. User selects direction: "Up" (top edge)
5. User selects size: 3/4"
6. User clicks OK
7. Returns to mp_dlg
8. On generation, chamfer drawn at top
Dialog Structure¶
Visual Layout¶
?? ConstructiVision -- Chamfer Details ??????????????
? ?
? Text Only [_] (No drawing, note only) ?
? ?
? Enable Place Chamfer Size ?
? Up Down Both 1/2" 3/4" 1" ?
? ??????????????????????????????????????????????? ?
? [Main Panel] ?
? [x] cht1 (•)Up ( )Down ( )Both ( )1/2 (•)3/4 ( )1 ?
? ?
? [Wall Opening] ?
? [ ] cht2 ( )Up (•)Down ( )Both (•)1/2 ( )3/4 ( )1 ?
? ?
? [Window Opening] ?
? [ ] cht3 ( )Up ( )Down ( )Both ( )1/2 ( )3/4 ( )1 ?
? ?
? [Door Opening] ?
? [ ] cht4 ( )Up ( )Down ( )Both ( )1/2 ( )3/4 ( )1 ?
? ?
? (Similar rows for other features...) ?
? ?
? [OK] [Cancel] [Help] ?
??????????????????????????????????????????????????????
Control Semantics¶
Global Option¶
Text Only:
chto- Enable text-only mode (toggle)When checked: Chamfer noted in specs but not drawn
Use case: Chamfer to be added in field, not shown on drawing
Per-Feature Controls (Multiple rows)¶
Main Panel (cht1):
cht1- Enable togglechd1- Direction radio buttons:u1- Up (top edge)d1- Down (bottom edge)b1- Both (top and bottom)
chs1- Size radio buttons:h1- 1/2 incht1- 3/4 incho1- 1 inch
Additional Features (cht2-chtN):
Similar pattern for:
Wall opening edges
Window opening edges
Door opening edges
Other panel features with edges
Control Pattern (consistent):
chtN- Toggle enablechdN- Direction (u/d/b + N)chsN- Size (h/t/o + N)
Widget Composition¶
Widget Type |
Count |
Purpose |
|---|---|---|
|
10+ |
Enable chamfer for each feature |
|
60+ |
Direction (3) + Size (3) per feature |
|
15+ |
Labels and headers |
|
20+ |
Radio button grouping |
|
12+ |
Layout organization |
|
8+ |
Vertical sections |
|
6+ |
Feature grouping |
Integration with ConstructiVision¶
LSP Handler¶
Primary Handler: ch_dlg.lsp
Key Functions:
(defun ch_dlg ()
(load_dialog "ch_dlg.dcl")
(new_dialog "ch_dlg" dcl_id)
; Set action for text-only toggle
(action_tile "chto" "(toggle-text-only)")
; Set actions for each feature
(action_tile "cht1" "(enable-chamfer 1)")
(action_tile "cht2" "(enable-chamfer 2)")
; ... etc
(start_dialog)
)
(defun toggle-text-only ()
; If text-only, disable all drawing options
(if (= (get_tile "chto") "1")
(progn
(mode_tile "chd1" 1) ; Disable direction
(mode_tile "chs1" 1) ; Disable size
)
; Else enable them
(progn
(mode_tile "chd1" 0)
(mode_tile "chs1" 0)
)
)
)
Integration Features:
? Text-only mode
? Multiple feature support
? Standard size options
? Direction control
Called By¶
Primary Caller: mp_dlg.lsp
Workflow:
mp_dlg ? User clicks [Chamfer] (mpch)
?
ch_dlg opens
?
Configure chamfers for main panel + features
?
Return to mp_dlg
?
Drawing generation
?
chamfer.lsp draws bevels
Global Variables¶
Variable Patterns:
Text-Only:
chto- Text-only flag (“0” or “1”)
Main Panel (Feature 1):
cht1- Enable (“0” or “1”)chd1- Direction (“u”, “d”, or “b”)chs1- Size (“h”=1/2”, “t”=3/4”, “o”=1”)
Additional Features (2-N):
cht2,chd2,chs2- Wall openingcht3,chd3,chs3- Window openingcht4,chd4,chs4- Door openingetc.
Data Flow¶
User enables chamfer (chtN)
?
User selects direction (Up/Down/Both)
?
User selects size (1/2", 3/4", 1")
?
User clicks OK
?
Variables saved to panel_list
?
chamfer.lsp reads variables
?
Calculates chamfer lines:
• 45-degree bevel
• Dimension: size × ?2
?
Draws chamfer indication:
• Angled line on edge
• Dimension callout
• Note if text-only
User Interaction Examples¶
Example 1: Standard Top Edge Chamfer¶
Scenario: 3/4” chamfer on top edge of panel
1. User: Opens ch_dlg
2. User: Checks [x] Main Panel (cht1)
3. User: Selects (•) Up
4. User: Selects (•) 3/4"
5. User: Clicks OK
6. Result: 3/4" × 45° chamfer at top edge
Example 2: Both Edges with 1” Chamfer¶
Scenario: Large chamfer top and bottom
1. User: Opens ch_dlg
2. User: Enables Main Panel
3. User: Selects (•) Both
4. User: Selects (•) 1"
5. User: Clicks OK
6. Result: 1" chamfers at both edges
Example 3: Window Opening Chamfer¶
Scenario: Chamfer around window opening
1. User: Opens ch_dlg
2. User: Enables Window Opening (cht3)
3. User: Selects (•) Down (below window)
4. User: Selects (•) 1/2"
5. User: Clicks OK
6. Result: Small chamfer at window sill
Example 4: Text-Only (Field Chamfer)¶
Scenario: Note chamfer without drawing it
1. User: Opens ch_dlg
2. User: Checks [x] Text Only
3. User: Enables Main Panel
4. User: Selects size (for note)
5. User: Clicks OK
6. Result: Drawing note: "3/4" CHAMFER AT TOP"
7. No actual chamfer drawn (field-applied)
Chamfer Specifications¶
Standard Sizes¶
1/2 inch:
Light chamfer
Standard for most applications
Minimal material removal
3/4 inch:
Most common
Good balance of aesthetics and practicality
Industry standard for precast
1 inch:
Heavy chamfer
Architectural feature
Significant edge treatment
Direction Options¶
Up (Top Edge):
Chamfer at top of panel
Most common for aesthetic finish
Prevents chips during lifting
Down (Bottom Edge):
Chamfer at base
Less common (usually sits on foundation)
Used when base is exposed
Both (Top & Bottom):
Chamfers at both edges
Fully finished appearance
More labor-intensive
Technical Details¶
Chamfer Geometry¶
45-Degree Bevel:
_____
/ } Chamfer size (e.g., 3/4")
___/
?
45°
Calculation:
Horizontal dimension = Vertical dimension = Size
Diagonal = Size × ?2 ? Size × 1.414
Example (3/4” chamfer):
Horizontal: 3/4” = 0.75”
Vertical: 3/4” = 0.75”
Diagonal: 1.06”
Drawing Representation¶
On Plan View:
Dashed line at 45°
Dimension note
Leader with “3/4” CHAMFER”
On Section View:
Small triangle removed from corner
Dimension showing size
Special Features¶
Text-Only Mode¶
When to Use:
Chamfer applied in field (cast-in-place)
Drawing for reference only
Chamfer noted but not detailed
Effect:
Disables direction/size controls
Creates text note only
No graphic representation
Multiple Feature Support¶
Can chamfer:
Main panel edges
Opening edges (windows, doors)
Wall panel sections
Feature edges (corbels, reveals)
Each independently configured:
Own enable toggle
Own direction
Own size
Architectural Role¶
Position in Workflow¶
mp_dlg (Master Panel)
?
ch_dlg (Chamfer) ? YOU ARE HERE
?
Configure edge treatment
?
Return to mp_dlg
?
Drawing generation
?
chamfer.lsp draws bevels
Simple But Essential Feature¶
Why COMMONLY USED:
Industry Standard: Most precast panels have chamfers
Quality Indicator: Professional finished appearance
Practical: Prevents concrete chips
Safety: Eliminates sharp edges
Easy to Configure: Simple 3-option dialog
Importance: Medium
Not structurally critical
But almost always specified
Simple to add
Big impact on appearance
Documentation Metadata¶
Analysis Date: 2026-01-20
Method: Manual enhancement with source analysis
Completeness: ? COMPREHENSIVE
Documentation Quality:
? Functional purpose explained
? Standard sizes and practices
? Geometry calculations
? Text-only mode documented
? Multiple feature support
Enhancement Status: ? [8/20] COMPLETE
End of Document