forked from 1b-agent/opencadstudio-upstream
Cargo: codec e023bc3 (acadrust sync), kernel abca4e8, graph c63556f
The codec now holds wide EntityType variants boxed (MText, Helix, Dimension, Hatch, Viewport, MultiLeader, Surface, Table, Ole2Frame, Light, Extended). Constructors box their entity; nested patterns reach a dimension through entities::dimension::as_dimension(_mut). Also follows BlockAction::action_ids, LineTypeComplexData::source_flags and the decimal tab stop with an explicit character. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
218150c76a
commit
e4d04ef132
87 files changed
+380
-269
No files matched your search
@@ -26,7 +26,7 @@ fn text_and_dim_reach_pdf_export() {
|
||||
// A linear dimension — its measurement value is synthesized as SDF text too,
|
||||
// and dimension text is what #385 was actually filed about.
|
||||
let dim = DimensionLinear::new(Vector3::new(0.0, 0.0, 0.0), Vector3::new(40.0, 0.0, 0.0));
|
||||
let dim_h = scene.add_entity(EntityType::Dimension(Dimension::Linear(dim)));
|
||||
let dim_h = scene.add_entity(EntityType::Dimension(Box::new(Dimension::Linear(dim))));
|
||||
|
||||
let wires = scene.entity_wires();
|
||||
|
||||
|
||||
Reference in new issue
Block a user