Compare commits

...

6 Commits

Author SHA1 Message Date
941358f861 correct zoom scale factor 2025-06-11 19:03:19 -05:00
07155d7038 Update more snapshots 2025-06-06 11:45:19 -05:00
fd1fa4af07 Update snapshots 2025-06-06 11:27:51 -05:00
0f06bd26c3 Merge branch 'main' into achalmers/grid-scale 2025-06-05 19:53:54 -05:00
874079fedd Merge branch 'main' into achalmers/grid-scale 2025-06-05 15:48:26 -05:00
9419381068 Grid scale proportional to user's units
The grid lines should be 1 unit apart, where the unit is whatever the
user's defaultUnitLength setting is, e.g. 1mm or 1cm or 1in apart.
2025-06-02 15:25:35 -05:00
342 changed files with 2610 additions and 850 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 105 KiB

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 83 KiB

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 126 KiB

After

Width:  |  Height:  |  Size: 126 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 KiB

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 65 KiB

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 KiB

After

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 216 KiB

After

Width:  |  Height:  |  Size: 216 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 106 KiB

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 90 KiB

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 94 KiB

After

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 57 KiB

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 113 KiB

After

Width:  |  Height:  |  Size: 113 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 68 KiB

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 87 KiB

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 118 KiB

After

Width:  |  Height:  |  Size: 118 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 76 KiB

After

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 95 KiB

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 117 KiB

After

Width:  |  Height:  |  Size: 117 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 71 KiB

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 88 KiB

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 71 KiB

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 76 KiB

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 87 KiB

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 77 KiB

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 104 KiB

After

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 57 KiB

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 78 KiB

4
rust/Cargo.lock generated
View File

@ -2049,9 +2049,9 @@ dependencies = [
[[package]]
name = "kittycad-modeling-cmds"
version = "0.2.121"
version = "0.2.122"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "94ba95c22493d79ec8a1faab963d8903f6de0e373efedf2bc3bb76a0ddbab036"
checksum = "643f41fa4bc9c98104d6f0da937024dbb5fce37ffe63c0635b348db74bd78c4f"
dependencies = [
"anyhow",
"chrono",

View File

@ -36,7 +36,7 @@ dashmap = { version = "6.1.0" }
http = "1"
indexmap = "2.9.0"
kittycad = { version = "0.3.37", default-features = false, features = ["js", "requests"] }
kittycad-modeling-cmds = { version = "0.2.120", features = ["ts-rs", "websocket"] }
kittycad-modeling-cmds = { version = "0.2.122", features = ["ts-rs", "websocket"] }
lazy_static = "1.5.0"
miette = "7.5.0"
pyo3 = { version = "0.24.1" }

View File

@ -369,13 +369,15 @@ pub trait EngineManager: std::fmt::Debug + Send + Sync + 'static {
settings: &crate::ExecutorSettings,
source_range: SourceRange,
id_generator: &mut IdGenerator,
grid_scale_unit: Option<kcmc::units::UnitLength>,
) -> Result<(), crate::errors::KclError> {
// Set the edge visibility.
self.set_edge_visibility(settings.highlight_edges, source_range, id_generator)
.await?;
// Send the command to show the grid.
self.modify_grid(!settings.show_grid, source_range, id_generator)
self.modify_grid(!settings.show_grid, grid_scale_unit, source_range, id_generator)
.await?;
// We do not have commands for changing ssao on the fly.
@ -829,6 +831,7 @@ pub trait EngineManager: std::fmt::Debug + Send + Sync + 'static {
async fn modify_grid(
&self,
hidden: bool,
base_unit: Option<kcmc::units::UnitLength>,
source_range: SourceRange,
id_generator: &mut IdGenerator,
) -> Result<(), KclError> {
@ -843,6 +846,17 @@ pub trait EngineManager: std::fmt::Debug + Send + Sync + 'static {
)
.await?;
let grid_scale = if let Some(units) = base_unit {
// The grid is 10x10, so setting the value to 10 means that
// users whose unit is cm will see each cell as 1cm by 1cm,
// which is useful for sketching.
ModelingCmd::from(mcmd::SetGridScale { value: 10.0, units })
} else {
ModelingCmd::from(mcmd::SetGridAutoScale {})
};
self.batch_modeling_cmd(id_generator.next_uuid(), source_range, &grid_scale)
.await?;
// Hide/show the grid scale text.
self.batch_modeling_cmd(
id_generator.next_uuid(),

View File

@ -585,6 +585,12 @@ impl ExecutorContext {
pub async fn run_with_caching(&self, program: crate::Program) -> Result<ExecOutcome, KclErrorWithOutputs> {
assert!(!self.is_mock());
let grid_scale = program
.meta_settings()
.ok()
.flatten()
.map(|s| s.default_length_units)
.map(kcmc::units::UnitLength::from);
let (program, exec_state, result) = match cache::read_old_ast().await {
Some(mut cached_state) => {
@ -611,6 +617,7 @@ impl ExecutorContext {
&self.settings,
Default::default(),
&mut cached_state.main.exec_state.id_generator,
grid_scale,
)
.await
.is_err()
@ -638,6 +645,7 @@ impl ExecutorContext {
&self.settings,
Default::default(),
&mut cached_state.main.exec_state.id_generator,
grid_scale,
)
.await
.is_err()
@ -682,6 +690,7 @@ impl ExecutorContext {
&self.settings,
Default::default(),
&mut cached_state.main.exec_state.id_generator,
grid_scale,
)
.await
.is_ok()
@ -1063,10 +1072,21 @@ impl ExecutorContext {
preserve_mem: bool,
) -> Result<(EnvironmentRef, Option<ModelingSessionData>), KclErrorWithOutputs> {
let _stats = crate::log::LogPerfStats::new("Interpretation");
let grid_scale = program
.meta_settings()
.ok()
.flatten()
.map(|s| s.default_length_units)
.map(kcmc::units::UnitLength::from);
// Re-apply the settings, in case the cache was busted.
self.engine
.reapply_settings(&self.settings, Default::default(), exec_state.id_generator())
.reapply_settings(
&self.settings,
Default::default(),
exec_state.id_generator(),
grid_scale,
)
.await
.map_err(KclErrorWithOutputs::no_outputs)?;

View File

@ -28,5 +28,12 @@ description: Artifact commands add_lots.kcl
"object_id": "[uuid]",
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_auto_scale"
}
}
]

View File

@ -29,6 +29,13 @@ description: Artifact commands angled_line.kcl
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_auto_scale"
}
},
{
"cmdId": "[uuid]",
"range": [],

View File

@ -28,5 +28,12 @@ description: Artifact commands any_type.kcl
"object_id": "[uuid]",
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_auto_scale"
}
}
]

View File

@ -28,5 +28,12 @@ description: Artifact commands argument_error.kcl
"object_id": "[uuid]",
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_auto_scale"
}
}
]

View File

@ -28,5 +28,12 @@ description: Artifact commands array_elem_pop.kcl
"object_id": "[uuid]",
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_auto_scale"
}
}
]

View File

@ -28,5 +28,12 @@ description: Artifact commands array_elem_pop_empty_fail.kcl
"object_id": "[uuid]",
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_auto_scale"
}
}
]

View File

@ -28,5 +28,12 @@ description: Artifact commands array_elem_pop_fail.kcl
"object_id": "[uuid]",
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_auto_scale"
}
}
]

View File

@ -28,5 +28,12 @@ description: Artifact commands array_elem_push.kcl
"object_id": "[uuid]",
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_auto_scale"
}
}
]

View File

@ -28,5 +28,12 @@ description: Artifact commands array_elem_push_fail.kcl
"object_id": "[uuid]",
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_auto_scale"
}
}
]

View File

@ -28,5 +28,12 @@ description: Artifact commands array_index_oob.kcl
"object_id": "[uuid]",
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_auto_scale"
}
}
]

View File

@ -28,5 +28,12 @@ description: Artifact commands array_push_item_wrong_type.kcl
"object_id": "[uuid]",
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_auto_scale"
}
}
]

View File

@ -28,5 +28,12 @@ description: Artifact commands array_range_expr.kcl
"object_id": "[uuid]",
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_auto_scale"
}
}
]

View File

@ -28,5 +28,12 @@ description: Artifact commands array_range_mismatch_units.kcl
"object_id": "[uuid]",
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_auto_scale"
}
}
]

View File

@ -28,5 +28,12 @@ description: Artifact commands array_range_negative_expr.kcl
"object_id": "[uuid]",
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_auto_scale"
}
}
]

View File

@ -28,5 +28,12 @@ description: Artifact commands array_range_with_units.kcl
"object_id": "[uuid]",
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_auto_scale"
}
}
]

View File

@ -29,6 +29,13 @@ description: Artifact commands artifact_graph_example_code1.kcl
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_auto_scale"
}
},
{
"cmdId": "[uuid]",
"range": [],

View File

@ -29,6 +29,13 @@ description: Artifact commands artifact_graph_example_code_no_3d.kcl
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_auto_scale"
}
},
{
"cmdId": "[uuid]",
"range": [],

View File

@ -29,6 +29,13 @@ description: Artifact commands artifact_graph_example_code_offset_planes.kcl
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_auto_scale"
}
},
{
"cmdId": "[uuid]",
"range": [],

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 33 KiB

View File

@ -29,6 +29,13 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_auto_scale"
}
},
{
"cmdId": "[uuid]",
"range": [],

View File

@ -28,5 +28,12 @@ description: Artifact commands ascription_unknown_type.kcl
"object_id": "[uuid]",
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_auto_scale"
}
}
]

View File

@ -29,6 +29,15 @@ description: Artifact commands assembly_mixed_units_cubes.kcl
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_scale",
"value": 10.0,
"units": "in"
}
},
{
"cmdId": "[uuid]",
"range": [],

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 35 KiB

View File

@ -29,6 +29,15 @@ description: Artifact commands assembly_non_default_units.kcl
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_scale",
"value": 10.0,
"units": "in"
}
},
{
"cmdId": "[uuid]",
"range": [],

View File

@ -28,5 +28,12 @@ description: Artifact commands bad_units_in_annotation.kcl
"object_id": "[uuid]",
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_auto_scale"
}
}
]

View File

@ -29,6 +29,13 @@ description: Artifact commands basic_fillet_cube_close_opposite.kcl
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_auto_scale"
}
},
{
"cmdId": "[uuid]",
"range": [],

View File

@ -29,6 +29,13 @@ description: Artifact commands basic_fillet_cube_end.kcl
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_auto_scale"
}
},
{
"cmdId": "[uuid]",
"range": [],

View File

@ -29,6 +29,13 @@ description: Artifact commands basic_fillet_cube_next_adjacent.kcl
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_auto_scale"
}
},
{
"cmdId": "[uuid]",
"range": [],

View File

@ -29,6 +29,13 @@ description: Artifact commands basic_fillet_cube_previous_adjacent.kcl
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_auto_scale"
}
},
{
"cmdId": "[uuid]",
"range": [],

View File

@ -29,6 +29,13 @@ description: Artifact commands basic_fillet_cube_start.kcl
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_auto_scale"
}
},
{
"cmdId": "[uuid]",
"range": [],

View File

@ -29,6 +29,13 @@ description: Artifact commands basic_revolve_circle.kcl
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_auto_scale"
}
},
{
"cmdId": "[uuid]",
"range": [],

View File

@ -28,5 +28,12 @@ description: Artifact commands boolean_logical_and.kcl
"object_id": "[uuid]",
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_auto_scale"
}
}
]

View File

@ -28,5 +28,12 @@ description: Artifact commands boolean_logical_multiple.kcl
"object_id": "[uuid]",
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_auto_scale"
}
}
]

View File

@ -28,5 +28,12 @@ description: Artifact commands boolean_logical_or.kcl
"object_id": "[uuid]",
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_auto_scale"
}
}
]

View File

@ -29,6 +29,13 @@ description: Artifact commands circle_three_point.kcl
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_auto_scale"
}
},
{
"cmdId": "[uuid]",
"range": [],

View File

@ -29,6 +29,13 @@ description: Artifact commands circular_pattern3d_a_pattern.kcl
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_auto_scale"
}
},
{
"cmdId": "[uuid]",
"range": [],

Binary file not shown.

Before

Width:  |  Height:  |  Size: 133 KiB

After

Width:  |  Height:  |  Size: 133 KiB

View File

@ -28,5 +28,12 @@ description: Artifact commands comparisons.kcl
"object_id": "[uuid]",
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_auto_scale"
}
}
]

View File

@ -28,5 +28,12 @@ description: Artifact commands comparisons_multiple.kcl
"object_id": "[uuid]",
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_auto_scale"
}
}
]

View File

@ -28,5 +28,12 @@ description: Artifact commands computed_var.kcl
"object_id": "[uuid]",
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_auto_scale"
}
}
]

View File

@ -29,6 +29,13 @@ description: Artifact commands crazy_multi_profile.kcl
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_auto_scale"
}
},
{
"cmdId": "[uuid]",
"range": [],

View File

@ -29,6 +29,13 @@ description: Artifact commands cube.kcl
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_auto_scale"
}
},
{
"cmdId": "[uuid]",
"range": [],

View File

@ -29,6 +29,13 @@ description: Artifact commands cube_with_error.kcl
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_auto_scale"
}
},
{
"cmdId": "[uuid]",
"range": [],

View File

@ -28,5 +28,12 @@ description: Artifact commands double_map_fn.kcl
"object_id": "[uuid]",
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_auto_scale"
}
}
]

View File

@ -28,5 +28,12 @@ description: Artifact commands error_inside_fn_also_has_source_range_of_call_sit
"object_id": "[uuid]",
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_auto_scale"
}
}
]

View File

@ -29,6 +29,13 @@ description: Artifact commands error_revolve_on_edge_get_edge.kcl
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_auto_scale"
}
},
{
"cmdId": "[uuid]",
"range": [],

View File

@ -29,6 +29,13 @@ description: Artifact commands error_with_point_shows_numeric_units.kcl
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_auto_scale"
}
},
{
"cmdId": "[uuid]",
"range": [],

View File

@ -29,6 +29,13 @@ description: Artifact commands execute_engine_error_return.kcl
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_auto_scale"
}
},
{
"cmdId": "[uuid]",
"range": [],

View File

@ -29,6 +29,13 @@ description: Artifact commands fillet-and-shell.kcl
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_auto_scale"
}
},
{
"cmdId": "[uuid]",
"range": [],

View File

@ -29,6 +29,13 @@ description: Artifact commands fillet_duplicate_tags.kcl
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_auto_scale"
}
},
{
"cmdId": "[uuid]",
"range": [],

View File

@ -29,6 +29,15 @@ description: Artifact commands flush_batch_on_end.kcl
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "set_grid_scale",
"value": 10.0,
"units": "in"
}
},
{
"cmdId": "[uuid]",
"range": [],

Some files were not shown because too many files have changed in this diff Show More