forked from 1b-agent/opencadstudio-upstream
feat(dimension): the standard arrowheads in every arrowhead picker
The dimension style, multileader style and Properties pickers listed every block of the drawing as an arrowhead, and nothing else. They now list the 19 standard arrowheads (Closed filled, Open, Dot, Architectural tick, Oblique, Right angle, Datum triangle, …), followed by any user arrow block the dimension or style already uses. Picking one creates its block (`_Open`, `_ArchTick`, …) with the geometry the reference program writes, so other programs draw the same arrow; ODA reads the saved file cleanly. `_Small` now draws as the reference's "Dot small blank", a hollow circle half the arrow size, instead of a small filled triangle. Also drops a duplicated "DGN Import" catalog entry left by #1810/#1812. (#1820, #1821) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4143a01ff4
commit
bec9e63679
14 files changed
+288
-107
No files matched your search
@@ -707,7 +707,7 @@ fn add_entity_clone_doc(
|
||||
/// Document-level verbatim block-definition recreate: the `&mut CadDocument`
|
||||
/// half of `Scene::define_block_raw` (no-op when the block exists). The
|
||||
/// trailing `bump_geometry` stays caller-side.
|
||||
fn define_block_raw_doc(
|
||||
pub(crate) fn define_block_raw_doc(
|
||||
doc: &mut codec::CadDocument,
|
||||
name: &str,
|
||||
base_point: codec::types::Vector3,
|
||||
|
||||
@@ -95,8 +95,8 @@ mod utilities;
|
||||
mod viewport;
|
||||
|
||||
pub(crate) use clipboard::{
|
||||
copy_to_clipboard_kernel, paste_entities_kernel, remap_ext_subtree_reference, remap_object,
|
||||
PasteSpace,
|
||||
copy_to_clipboard_kernel, define_block_raw_doc, paste_entities_kernel,
|
||||
remap_ext_subtree_reference, remap_object, PasteSpace,
|
||||
};
|
||||
|
||||
impl OpenCADStudio {
|
||||
|
||||
Reference in new issue
Block a user