You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Glass/glazing shop drafter (@jacobchadwick) and an assistant. Inspired by ArtCraft’s creative-suite work; we need CAD more than creative apps. Highest priority for us: dynamic block parameters (ROADMAP M5) — grips, visibility states, lookup tables, stretch/flip/rotate/move/array, chaining, authoring in a block editor. We do not prioritize geometric constraints (M9).
What we’re offering
Clean-room design notes from a LibreCAD-side effort (working name FlexBlocks): parameters, actions, chaining, visibility, lookups, value sets, grip UX, create-from-scratch authoring. Documented without proprietary vendor source.
Implementation on a fork → PR in Rust, following your crates/ADRs — not dumping GPL LibreCAD plugin code into CADCraft (this repo is MIT/Apache; that add-on is GPL, so a clean reimplementation here is the right path).
We use dynamic blocks heavily at work, so I'd like to help with this too.
@jacobchadwick, have you started anything on a fork yet? I'd rather coordinate than duplicate. docs/gaps.md (F3) lists the block editor (BEDIT) as a prerequisite and it isn't started yet. I'm happy to take that first: an editor session, save/discard back to the definition, and the parameter/action data model with DXF round-trip. That would leave the parameters and actions themselves (linear/stretch, flip, visibility, lookup) free for your vertical slice. Or I can split it some other way if you've already got part of it going.
Maintainers: is there a preferred data model or ADR for parameters and actions, or should one of us open a short design RFC first?
First piece is up: #824 adds a simple Block Editor for static blocks (BEDIT, BSAVE, BSAVEAS, BCLOSE). You open a block, edit it with the normal commands and save, and every reference updates. No parameters or actions yet. It's the base the dynamic-block work needs.
One finding that may help: AutoCAD dynamic-block data (evaluation graph, parameters, actions, grips) already survives a CADCraft open and save, so the next step is reading it into a model rather than recovering it.
My planned order, from the PR: read dynamic-block parameters and actions from files and show them in Properties, then evaluate them on references (visibility, lookup, stretch, flip…), then grips, then authoring in the Block Editor.
@jacobchadwick, if you'd like to take part of that (authoring, or particular actions), say which and I'll leave it alone.
Checked against AutoCAD
I drove AutoCAD (black-box, through its COM API, on synthetic and our own drawings) on files CADCraft saved:
AutoCAD reads the values CADCraft set;
visibility, lookup and stretch changes still work there afterwards.
Next: the authoring side. That means drawing parameters and actions in the Block Editor and an authoring palette to add and edit them, then rotation, flip, XY and polar parameters and their grips.
@jacobchadwick, if you want a piece of that, say so and I'll stay off it.
Hi @codyvogt, thanks for the block editor work in #1827, #2169 and #2184. A quick heads-up so we don't build the same thing twice: I have already built a lot of BEDIT authoring and would like to chat about how it fits with yours.
What I have working locally (not pushed or proposed as PRs yet):
polar, XY, rotation, flip, alignment and base point parameters with their actions, and the 20 standard Parameter Sets
a native DWG reader and writer, so opening and saving a DWG never goes through DXF
I will drop my own linear, point, visibility and lookup authoring and rebase onto your #1827, #2169 and #2184 instead of competing with them.
Two caveats: I checked my work against AutoCAD-written DWG files that I can't share, and I haven't been able to test authored blocks in AutoCAD yet. Anything beyond reading real files is unproven until I can test on another machine.
Two questions for you:
How would you like to split the remaining work, so each of us takes different pieces?
Is native DWG reading and writing welcome next to the acadrust bridge, or would you rather keep the bridge as the single path?
Hi @V1dalTheAbidal, thanks for the heads-up, and that's a lot of working authoring. Please go hard on block authoring. I'll have very little time for it over the next month or so (work), so on your question 1: take it, and treat the authoring side as yours.
Yours: the Parameter Sets, the Block Authoring palette, BTESTBLOCK and the B-commands you listed, BCPARAMETER constraints and expressions, and the polar, XY, rotation, flip, alignment and base point authoring.
When you push, small PRs stacked on #1827, #2169 and #2184 are easiest to review, and each can say which parity rows it touches in the description (PRs don't edit the parity docs now).
On your caveat about AutoCAD: the files that matter are the ones an authored block is saved to, opened in AutoCAD. A block that AutoCAD reports as needing recovery is the failure to look for, so say so in the PR if a piece hasn't been opened in AutoCAD.
On question 2 (native DWG next to the acadrust bridge): that isn't mine to decide. It's a maintainers' call, so I'd open a separate issue or a short RFC and tag them. My DWG fixes (#1725, #1728, #1000) are on the bridge, so a native path would need to replace or sit next to those.
Taking BCONSTRUCTION (Convert, Revert, Show all, Hide all) from the authoring side we split earlier.
I'm opening three small PRs: BSAVEAS keeping the source block's last saved definition, no grips on hidden objects, and BCONSTRUCTION itself stacked on those two. None of it touches #1827, #2169 or #2184; how Hide all interacts with visibility states and BVMODE will follow once #2169 is merged.
If anyone already has BCONSTRUCTION in progress, tell me and I'll hold the third one.
Activity
codyvogt commentedon Oct 12, 2026
We use dynamic blocks heavily at work, so I'd like to help with this too.
@jacobchadwick, have you started anything on a fork yet? I'd rather coordinate than duplicate.
docs/gaps.md(F3) lists the block editor (BEDIT) as a prerequisite and it isn't started yet. I'm happy to take that first: an editor session, save/discard back to the definition, and the parameter/action data model with DXF round-trip. That would leave the parameters and actions themselves (linear/stretch, flip, visibility, lookup) free for your vertical slice. Or I can split it some other way if you've already got part of it going.Maintainers: is there a preferred data model or ADR for parameters and actions, or should one of us open a short design RFC first?
codyvogt commentedon Oct 12, 2026
First piece is up: #824 adds a simple Block Editor for static blocks (BEDIT, BSAVE, BSAVEAS, BCLOSE). You open a block, edit it with the normal commands and save, and every reference updates. No parameters or actions yet. It's the base the dynamic-block work needs.
One finding that may help: AutoCAD dynamic-block data (evaluation graph, parameters, actions, grips) already survives a CADCraft open and save, so the next step is reading it into a model rather than recovering it.
My planned order, from the PR: read dynamic-block parameters and actions from files and show them in Properties, then evaluate them on references (visibility, lookup, stretch, flip…), then grips, then authoring in the Block Editor.
@jacobchadwick, if you'd like to take part of that (authoring, or particular actions), say which and I'll leave it alone.
codyvogt commentedon Oct 13, 2026
Progress update: everything below has landed (thanks @echelon for the quick reviews).
Block Editor
<Current Drawing>. Opening a dynamic block's own drawing asks "contains authoring elements. Open in Block Editor?" as AutoCAD does.Dynamic blocks made in AutoCAD
Fixes found along the way
Checked against AutoCAD
I drove AutoCAD (black-box, through its COM API, on synthetic and our own drawings) on files CADCraft saved:
Next: the authoring side. That means drawing parameters and actions in the Block Editor and an authoring palette to add and edit them, then rotation, flip, XY and polar parameters and their grips.
@jacobchadwick, if you want a piece of that, say so and I'll stay off it.
V1dalTheAbidal commentedon Nov 3, 2026
Hi @codyvogt, thanks for the block editor work in #1827, #2169 and #2184. A quick heads-up so we don't build the same thing twice: I have already built a lot of BEDIT authoring and would like to chat about how it fits with yours.
What I have working locally (not pushed or proposed as PRs yet):
I will drop my own linear, point, visibility and lookup authoring and rebase onto your #1827, #2169 and #2184 instead of competing with them.
Two caveats: I checked my work against AutoCAD-written DWG files that I can't share, and I haven't been able to test authored blocks in AutoCAD yet. Anything beyond reading real files is unproven until I can test on another machine.
Two questions for you:
codyvogt commentedon Nov 3, 2026
Hi @V1dalTheAbidal, thanks for the heads-up, and that's a lot of working authoring. Please go hard on block authoring. I'll have very little time for it over the next month or so (work), so on your question 1: take it, and treat the authoring side as yours.
How I'd split it:
When you push, small PRs stacked on #1827, #2169 and #2184 are easiest to review, and each can say which parity rows it touches in the description (PRs don't edit the parity docs now).
On your caveat about AutoCAD: the files that matter are the ones an authored block is saved to, opened in AutoCAD. A block that AutoCAD reports as needing recovery is the failure to look for, so say so in the PR if a piece hasn't been opened in AutoCAD.
On question 2 (native DWG next to the acadrust bridge): that isn't mine to decide. It's a maintainers' call, so I'd open a separate issue or a short RFC and tag them. My DWG fixes (#1725, #1728, #1000) are on the bridge, so a native path would need to replace or sit next to those.
🤖 Generated with Claude Code
V1dalTheAbidal commentedon Nov 3, 2026
Thanks @codyvogt, that's a clear split and I'm happy with it. I'll take the authoring side.
Thanks for the time you're giving this.
V1dalTheAbidal commentedon Nov 10, 2026
Taking BCONSTRUCTION (Convert, Revert, Show all, Hide all) from the authoring side we split earlier.
I'm opening three small PRs: BSAVEAS keeping the source block's last saved definition, no grips on hidden objects, and BCONSTRUCTION itself stacked on those two. None of it touches #1827, #2169 or #2184; how Hide all interacts with visibility states and BVMODE will follow once #2169 is merged.
If anyone already has BCONSTRUCTION in progress, tell me and I'll hold the third one.