Deterministic parallelized snaps (#6527)

* initial pass

Signed-off-by: Jess Frazelle <github@jessfraz.com>

updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

changes

Signed-off-by: Jess Frazelle <github@jessfraz.com>

more updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

more updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

serde variant name

Signed-off-by: Jess Frazelle <github@jessfraz.com>

fixes

Signed-off-by: Jess Frazelle <github@jessfraz.com>

updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

some sort

Signed-off-by: Jess Frazelle <github@jessfraz.com>

some sort

Signed-off-by: Jess Frazelle <github@jessfraz.com>

some sort

Signed-off-by: Jess Frazelle <github@jessfraz.com>

some sort

Signed-off-by: Jess Frazelle <github@jessfraz.com>

some sort

Signed-off-by: Jess Frazelle <github@jessfraz.com>

some sort

Signed-off-by: Jess Frazelle <github@jessfraz.com>

some sort

Signed-off-by: Jess Frazelle <github@jessfraz.com>

some sort

Signed-off-by: Jess Frazelle <github@jessfraz.com>

some sort

Signed-off-by: Jess Frazelle <github@jessfraz.com>

some sort

Signed-off-by: Jess Frazelle <github@jessfraz.com>

updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

sort the edges

Signed-off-by: Jess Frazelle <github@jessfraz.com>

fixes

Signed-off-by: Jess Frazelle <github@jessfraz.com>

u[dates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

u[dates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

cleanups

Signed-off-by: Jess Frazelle <github@jessfraz.com>

updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

add bs-to-kcl

Signed-off-by: Jess Frazelle <github@jessfraz.com>

updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fixes

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fixes

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* fixes

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Jess Frazelle
2025-04-29 06:38:52 -07:00
committed by GitHub
parent a173a82d59
commit 77e3efde9a
302 changed files with 233255 additions and 244172 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: 216 KiB

After

Width:  |  Height:  |  Size: 216 KiB

21
rust/Cargo.lock generated
View File

@ -318,7 +318,7 @@ dependencies = [
"getrandom 0.2.15", "getrandom 0.2.15",
"getrandom 0.3.1", "getrandom 0.3.1",
"hex", "hex",
"indexmap 2.8.0", "indexmap 2.9.0",
"js-sys", "js-sys",
"once_cell", "once_cell",
"rand 0.9.0", "rand 0.9.0",
@ -1663,12 +1663,13 @@ dependencies = [
[[package]] [[package]]
name = "indexmap" name = "indexmap"
version = "2.8.0" version = "2.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3954d50fe15b02142bf25d3b8bdadb634ec3948f103d04ffe3031bc8fe9d7058" checksum = "cea70ddb795996207ad57735b50c5982d8844f38ba9ee5f1aedcfb708a2aa11e"
dependencies = [ dependencies = [
"equivalent", "equivalent",
"hashbrown 0.15.2", "hashbrown 0.15.2",
"rayon",
"serde", "serde",
] ]
@ -1910,7 +1911,7 @@ dependencies = [
"handlebars", "handlebars",
"http 1.3.1", "http 1.3.1",
"image", "image",
"indexmap 2.8.0", "indexmap 2.9.0",
"insta", "insta",
"instant", "instant",
"itertools 0.13.0", "itertools 0.13.0",
@ -1990,7 +1991,7 @@ version = "0.1.64"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"async-trait", "async-trait",
"indexmap 2.8.0", "indexmap 2.9.0",
"kcl-lib", "kcl-lib",
"kittycad", "kittycad",
"kittycad-modeling-cmds", "kittycad-modeling-cmds",
@ -3336,7 +3337,7 @@ dependencies = [
"chrono", "chrono",
"dyn-clone", "dyn-clone",
"indexmap 1.9.3", "indexmap 1.9.3",
"indexmap 2.8.0", "indexmap 2.9.0",
"schemars_derive", "schemars_derive",
"serde", "serde",
"serde_json", "serde_json",
@ -3437,7 +3438,7 @@ version = "1.0.140"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373" checksum = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373"
dependencies = [ dependencies = [
"indexmap 2.8.0", "indexmap 2.9.0",
"itoa", "itoa",
"memchr", "memchr",
"ryu", "ryu",
@ -4086,7 +4087,7 @@ version = "0.22.24"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "17b4795ff5edd201c7cd6dca065ae59972ce77d1b80fa0a84d94950ece7d1474" checksum = "17b4795ff5edd201c7cd6dca065ae59972ce77d1b80fa0a84d94950ece7d1474"
dependencies = [ dependencies = [
"indexmap 2.8.0", "indexmap 2.9.0",
"serde", "serde",
"serde_spanned", "serde_spanned",
"toml_datetime", "toml_datetime",
@ -4265,7 +4266,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e640d9b0964e9d39df633548591090ab92f7a4567bc31d3891af23471a3365c6" checksum = "e640d9b0964e9d39df633548591090ab92f7a4567bc31d3891af23471a3365c6"
dependencies = [ dependencies = [
"chrono", "chrono",
"indexmap 2.8.0", "indexmap 2.9.0",
"lazy_static", "lazy_static",
"serde_json", "serde_json",
"thiserror 2.0.12", "thiserror 2.0.12",
@ -5093,7 +5094,7 @@ dependencies = [
"flate2", "flate2",
"getrandom 0.3.1", "getrandom 0.3.1",
"hmac", "hmac",
"indexmap 2.8.0", "indexmap 2.9.0",
"lzma-rs", "lzma-rs",
"memchr", "memchr",
"pbkdf2", "pbkdf2",

View File

@ -34,7 +34,7 @@ clap = { version = "4.5.36", features = ["derive"] }
console_error_panic_hook = "0.1.7" console_error_panic_hook = "0.1.7"
dashmap = { version = "6.1.0" } dashmap = { version = "6.1.0" }
http = "1" http = "1"
indexmap = "2.7.0" indexmap = "2.9.0"
kittycad = { version = "0.3.36", default-features = false, features = ["js", "requests"] } kittycad = { version = "0.3.36", default-features = false, features = ["js", "requests"] }
kittycad-modeling-cmds = { version = "0.2.114", features = ["ts-rs", "websocket"] } kittycad-modeling-cmds = { version = "0.2.114", features = ["ts-rs", "websocket"] }
lazy_static = "1.5.0" lazy_static = "1.5.0"

View File

@ -40,7 +40,7 @@ git_rev = "0.1.0"
gltf-json = "1.4.1" gltf-json = "1.4.1"
http = { workspace = true } http = { workspace = true }
image = { version = "0.25.6", default-features = false, features = ["png"] } image = { version = "0.25.6", default-features = false, features = ["png"] }
indexmap = { workspace = true, features = ["serde"] } indexmap = { workspace = true, features = ["serde", "rayon"] }
itertools = "0.13.0" itertools = "0.13.0"
kcl-derive-docs = { version = "0.1", path = "../kcl-derive-docs" } kcl-derive-docs = { version = "0.1", path = "../kcl-derive-docs" }
kittycad = { workspace = true } kittycad = { workspace = true }

View File

@ -38,7 +38,27 @@ pub struct ArtifactCommand {
pub command: ModelingCmd, pub command: ModelingCmd,
} }
#[derive(Debug, Clone, Copy, Deserialize, Serialize, PartialEq, Eq, Hash, ts_rs::TS, JsonSchema)] impl PartialOrd for ArtifactCommand {
fn partial_cmp(&self, other: &Self) -> Option<std::cmp::Ordering> {
// Order by the source range.
let range = self.range.cmp(&other.range);
if range != std::cmp::Ordering::Equal {
return Some(range);
}
#[cfg(test)]
{
// If the ranges are equal, order by the serde variant.
Some(
crate::variant_name::variant_name(&self.command)
.cmp(&crate::variant_name::variant_name(&other.command)),
)
}
#[cfg(not(test))]
self.cmd_id.partial_cmp(&other.cmd_id)
}
}
#[derive(Debug, Clone, Copy, Deserialize, Serialize, PartialEq, Eq, Ord, PartialOrd, Hash, ts_rs::TS, JsonSchema)]
#[ts(export_to = "Artifact.ts")] #[ts(export_to = "Artifact.ts")]
pub struct ArtifactId(Uuid); pub struct ArtifactId(Uuid);
@ -194,7 +214,7 @@ pub struct Sweep {
pub code_ref: CodeRef, pub code_ref: CodeRef,
} }
#[derive(Debug, Clone, Copy, Deserialize, Serialize, PartialEq, Eq, ts_rs::TS)] #[derive(Debug, Clone, Copy, Deserialize, Serialize, PartialEq, Eq, PartialOrd, Ord, ts_rs::TS)]
#[ts(export_to = "Artifact.ts")] #[ts(export_to = "Artifact.ts")]
#[serde(rename_all = "camelCase")] #[serde(rename_all = "camelCase")]
pub enum SweepSubType { pub enum SweepSubType {
@ -245,6 +265,8 @@ pub struct Wall {
/// This is for the sketch-on-face plane, not for the wall itself. Traverse /// This is for the sketch-on-face plane, not for the wall itself. Traverse
/// to the extrude and/or segment to get the wall's code_ref. /// to the extrude and/or segment to get the wall's code_ref.
pub face_code_ref: CodeRef, pub face_code_ref: CodeRef,
/// The command ID that got the data for this wall.
pub cmd_id: uuid::Uuid,
} }
#[derive(Debug, Clone, Deserialize, Serialize, PartialEq, ts_rs::TS)] #[derive(Debug, Clone, Deserialize, Serialize, PartialEq, ts_rs::TS)]
@ -263,7 +285,7 @@ pub struct Cap {
pub face_code_ref: CodeRef, pub face_code_ref: CodeRef,
} }
#[derive(Debug, Clone, Copy, Deserialize, Serialize, PartialEq, Eq, ts_rs::TS)] #[derive(Debug, Clone, Copy, Deserialize, Serialize, PartialEq, Ord, PartialOrd, Eq, ts_rs::TS)]
#[ts(export_to = "Artifact.ts")] #[ts(export_to = "Artifact.ts")]
#[serde(rename_all = "camelCase")] #[serde(rename_all = "camelCase")]
pub enum CapSubType { pub enum CapSubType {
@ -278,12 +300,13 @@ pub struct SweepEdge {
pub id: ArtifactId, pub id: ArtifactId,
pub sub_type: SweepEdgeSubType, pub sub_type: SweepEdgeSubType,
pub seg_id: ArtifactId, pub seg_id: ArtifactId,
pub cmd_id: uuid::Uuid,
pub sweep_id: ArtifactId, pub sweep_id: ArtifactId,
#[serde(default, skip_serializing_if = "Vec::is_empty")] #[serde(default, skip_serializing_if = "Vec::is_empty")]
pub common_surface_ids: Vec<ArtifactId>, pub common_surface_ids: Vec<ArtifactId>,
} }
#[derive(Debug, Clone, Copy, Deserialize, Serialize, PartialEq, Eq, ts_rs::TS)] #[derive(Debug, Clone, Copy, Deserialize, Serialize, PartialEq, Ord, PartialOrd, Eq, ts_rs::TS)]
#[ts(export_to = "Artifact.ts")] #[ts(export_to = "Artifact.ts")]
#[serde(rename_all = "camelCase")] #[serde(rename_all = "camelCase")]
pub enum SweepEdgeSubType { pub enum SweepEdgeSubType {
@ -305,7 +328,7 @@ pub struct EdgeCut {
pub code_ref: CodeRef, pub code_ref: CodeRef,
} }
#[derive(Debug, Clone, Copy, Deserialize, Serialize, PartialEq, Eq, ts_rs::TS)] #[derive(Debug, Clone, Copy, Deserialize, Serialize, PartialEq, PartialOrd, Ord, Eq, ts_rs::TS)]
#[ts(export_to = "Artifact.ts")] #[ts(export_to = "Artifact.ts")]
#[serde(rename_all = "camelCase")] #[serde(rename_all = "camelCase")]
pub enum EdgeCutSubType { pub enum EdgeCutSubType {
@ -362,6 +385,122 @@ pub enum Artifact {
Helix(Helix), Helix(Helix),
} }
impl Artifact {
pub(crate) fn rank(&self) -> u8 {
match self {
Artifact::Plane(_) => 0,
Artifact::StartSketchOnPlane(_) => 1,
Artifact::StartSketchOnFace(_) => 2,
Artifact::Path(_) => 3,
Artifact::Segment(_) => 4,
Artifact::Solid2d(_) => 5,
Artifact::Sweep(_) => 6,
Artifact::CompositeSolid(_) => 7,
Artifact::Wall(_) => 8,
Artifact::Cap(Cap { sub_type, .. }) if *sub_type == CapSubType::Start => 9,
Artifact::Cap(Cap { sub_type, .. }) if *sub_type == CapSubType::Start => 10,
Artifact::Cap(_) => 11,
Artifact::SweepEdge(SweepEdge { sub_type, .. }) if *sub_type == SweepEdgeSubType::Adjacent => 12,
Artifact::SweepEdge(SweepEdge { sub_type, .. }) if *sub_type == SweepEdgeSubType::Opposite => 13,
Artifact::SweepEdge(_) => 14,
Artifact::EdgeCut(_) => 15,
Artifact::EdgeCutEdge(_) => 16,
Artifact::Helix(_) => 17,
}
}
}
impl PartialOrd for Artifact {
fn partial_cmp(&self, other: &Self) -> Option<std::cmp::Ordering> {
// The only thing we want to sort is if we have two sweep edges, we want
// to sort them by the sub_type.
match (self, other) {
(Artifact::SweepEdge(a), Artifact::SweepEdge(b)) => {
if a.sub_type != b.sub_type {
return Some(a.sub_type.cmp(&b.sub_type));
}
if a.sweep_id != b.sweep_id {
return Some(a.sweep_id.cmp(&b.sweep_id));
}
if a.cmd_id != b.cmd_id {
return Some(a.cmd_id.cmp(&b.cmd_id));
}
Some(a.id.cmp(&b.id))
}
(Artifact::Sweep(a), Artifact::Sweep(b)) => {
if a.code_ref.range != b.code_ref.range {
return Some(a.code_ref.range.cmp(&b.code_ref.range));
}
Some(a.id.cmp(&b.id))
}
// Sort the planes by their code_ref range.
(Artifact::Plane(a), Artifact::Plane(b)) => {
if a.code_ref.range != b.code_ref.range {
return Some(a.code_ref.range.cmp(&b.code_ref.range));
}
Some(a.id.cmp(&b.id))
}
// Sort the paths by their code_ref range.
(Artifact::Path(a), Artifact::Path(b)) => {
if a.code_ref.range != b.code_ref.range {
return Some(a.code_ref.range.cmp(&b.code_ref.range));
}
Some(a.id.cmp(&b.id))
}
// Sort the segments by their code_ref range.
(Artifact::Segment(a), Artifact::Segment(b)) => {
if a.code_ref.range != b.code_ref.range {
return Some(a.code_ref.range.cmp(&b.code_ref.range));
}
Some(a.id.cmp(&b.id))
}
// Sort the solid2d by their id.
(Artifact::Solid2d(a), Artifact::Solid2d(b)) => {
if a.path_id != b.path_id {
return Some(a.path_id.cmp(&b.path_id));
}
Some(a.id.cmp(&b.id))
}
// Sort the walls by their code_ref range.
(Artifact::Wall(a), Artifact::Wall(b)) => {
if a.sweep_id != b.sweep_id {
return Some(a.sweep_id.cmp(&b.sweep_id));
}
if a.cmd_id != b.cmd_id {
return Some(a.cmd_id.cmp(&b.cmd_id));
}
if a.face_code_ref.range != b.face_code_ref.range {
return Some(a.face_code_ref.range.cmp(&b.face_code_ref.range));
}
if a.seg_id != b.seg_id {
return Some(a.seg_id.cmp(&b.seg_id));
}
Some(a.id.cmp(&b.id))
}
// Sort the caps by their code_ref range.
(Artifact::Cap(a), Artifact::Cap(b)) => {
if a.sub_type != b.sub_type {
return Some(a.sub_type.cmp(&b.sub_type));
}
if a.sweep_id != b.sweep_id {
return Some(a.sweep_id.cmp(&b.sweep_id));
}
if a.face_code_ref.range != b.face_code_ref.range {
return Some(a.face_code_ref.range.cmp(&b.face_code_ref.range));
}
Some(a.id.cmp(&b.id))
}
(Artifact::CompositeSolid(a), Artifact::CompositeSolid(b)) => Some(a.id.cmp(&b.id)),
(Artifact::StartSketchOnFace(a), Artifact::StartSketchOnFace(b)) => Some(a.id.cmp(&b.id)),
(Artifact::StartSketchOnPlane(a), Artifact::StartSketchOnPlane(b)) => Some(a.id.cmp(&b.id)),
// Planes are first, then paths, then segments, then solids2ds, then sweeps, then
// walls, then caps, then sweep edges, then edge cuts, then edge cut edges, then
// helixes.
_ => Some(self.rank().cmp(&other.rank())),
}
}
}
impl Artifact { impl Artifact {
pub(crate) fn id(&self) -> ArtifactId { pub(crate) fn id(&self) -> ArtifactId {
match self { match self {
@ -533,6 +672,13 @@ impl ArtifactGraph {
pub fn len(&self) -> usize { pub fn len(&self) -> usize {
self.map.len() self.map.len()
} }
/// Used to make the mermaid tests deterministic.
#[cfg(test)]
pub(crate) fn sort(&mut self) {
self.map
.sort_by(|_ak, av, _bk, bv| av.partial_cmp(bv).unwrap_or(std::cmp::Ordering::Equal));
}
} }
pub(super) fn build_artifact_graph( pub(super) fn build_artifact_graph(
@ -709,6 +855,7 @@ fn artifacts_to_update(
sweep_id: wall.sweep_id, sweep_id: wall.sweep_id,
path_ids: wall.path_ids.clone(), path_ids: wall.path_ids.clone(),
face_code_ref: wall.face_code_ref.clone(), face_code_ref: wall.face_code_ref.clone(),
cmd_id: artifact_command.cmd_id,
})]); })]);
} }
Some(Artifact::Cap(cap)) => { Some(Artifact::Cap(cap)) => {
@ -769,6 +916,7 @@ fn artifacts_to_update(
sweep_id: wall.sweep_id, sweep_id: wall.sweep_id,
path_ids: vec![id], path_ids: vec![id],
face_code_ref: wall.face_code_ref.clone(), face_code_ref: wall.face_code_ref.clone(),
cmd_id: artifact_command.cmd_id,
})); }));
} }
if let Some(Artifact::Cap(cap)) = plane { if let Some(Artifact::Cap(cap)) = plane {
@ -933,6 +1081,7 @@ fn artifacts_to_update(
range: sketch_on_face_source_range, range: sketch_on_face_source_range,
path_to_node: Vec::new(), path_to_node: Vec::new(),
}, },
cmd_id: artifact_command.cmd_id,
})); }));
let mut new_seg = seg.clone(); let mut new_seg = seg.clone();
new_seg.surface_id = Some(face_id); new_seg.surface_id = Some(face_id);
@ -1044,6 +1193,7 @@ fn artifacts_to_update(
id: response_edge_id, id: response_edge_id,
sub_type, sub_type,
seg_id: edge_id, seg_id: edge_id,
cmd_id: artifact_command.cmd_id,
sweep_id: sweep.id, sweep_id: sweep.id,
common_surface_ids: Vec::new(), common_surface_ids: Vec::new(),
})); }));

View File

@ -194,6 +194,7 @@ impl ArtifactGraph {
let mut next_id = 1_u32; let mut next_id = 1_u32;
let mut stable_id_map = FnvHashMap::default(); let mut stable_id_map = FnvHashMap::default();
for id in self.map.keys() { for id in self.map.keys() {
stable_id_map.insert(*id, next_id); stable_id_map.insert(*id, next_id);
next_id = next_id.checked_add(1).unwrap(); next_id = next_id.checked_add(1).unwrap();
@ -452,6 +453,7 @@ impl ArtifactGraph {
} }
// Output the edges. // Output the edges.
edges.par_sort_by(|ak, _, bk, _| (if ak.0 == bk.0 { ak.1.cmp(&bk.1) } else { ak.0.cmp(&bk.0) }));
for ((source_id, target_id), edge) in edges { for ((source_id, target_id), edge) in edges {
let extra = match edge.kind { let extra = match edge.kind {
// Extra length. This is needed to make the graph layout more // Extra length. This is needed to make the graph layout more

View File

@ -49,6 +49,33 @@ pub enum Operation {
GroupEnd, GroupEnd,
} }
/// A way for sorting the operations in the timeline. This is used to sort
/// operations in the timeline and to determine the order of operations.
/// We use this for the multi-threaded snapshotting, so that we can have deterministic
/// output.
impl PartialOrd for Operation {
fn partial_cmp(&self, other: &Self) -> Option<std::cmp::Ordering> {
Some(match (self, other) {
(Self::StdLibCall { source_range: a, .. }, Self::StdLibCall { source_range: b, .. }) => a.cmp(b),
(Self::StdLibCall { source_range: a, .. }, Self::KclStdLibCall { source_range: b, .. }) => a.cmp(b),
(Self::StdLibCall { source_range: a, .. }, Self::GroupBegin { source_range: b, .. }) => a.cmp(b),
(Self::StdLibCall { .. }, Self::GroupEnd) => std::cmp::Ordering::Less,
(Self::KclStdLibCall { source_range: a, .. }, Self::KclStdLibCall { source_range: b, .. }) => a.cmp(b),
(Self::KclStdLibCall { source_range: a, .. }, Self::StdLibCall { source_range: b, .. }) => a.cmp(b),
(Self::KclStdLibCall { source_range: a, .. }, Self::GroupBegin { source_range: b, .. }) => a.cmp(b),
(Self::KclStdLibCall { .. }, Self::GroupEnd) => std::cmp::Ordering::Less,
(Self::GroupBegin { source_range: a, .. }, Self::GroupBegin { source_range: b, .. }) => a.cmp(b),
(Self::GroupBegin { source_range: a, .. }, Self::StdLibCall { source_range: b, .. }) => a.cmp(b),
(Self::GroupBegin { source_range: a, .. }, Self::KclStdLibCall { source_range: b, .. }) => a.cmp(b),
(Self::GroupBegin { .. }, Self::GroupEnd) => std::cmp::Ordering::Less,
(Self::GroupEnd, Self::StdLibCall { .. }) => std::cmp::Ordering::Greater,
(Self::GroupEnd, Self::KclStdLibCall { .. }) => std::cmp::Ordering::Greater,
(Self::GroupEnd, Self::GroupBegin { .. }) => std::cmp::Ordering::Greater,
(Self::GroupEnd, Self::GroupEnd) => std::cmp::Ordering::Equal,
})
}
}
impl Operation { impl Operation {
/// If the variant is `StdLibCall`, set the `is_error` field. /// If the variant is `StdLibCall`, set the `is_error` field.
pub(crate) fn set_std_lib_call_is_error(&mut self, is_err: bool) { pub(crate) fn set_std_lib_call_is_error(&mut self, is_err: bool) {

View File

@ -717,37 +717,9 @@ impl ExecutorContext {
self.run_concurrent(program, exec_state, false).await self.run_concurrent(program, exec_state, false).await
} }
/// Perform the execution of a program. /// Perform the execution of a program using a concurrent
///
/// You can optionally pass in some initialization memory for partial
/// execution.
///
/// To access non-fatal errors and warnings, extract them from the `ExecState`.
pub async fn run_single_threaded(
&self,
program: &crate::Program,
exec_state: &mut ExecState,
) -> Result<(EnvironmentRef, Option<ModelingSessionData>), KclErrorWithOutputs> {
exec_state.add_root_module_contents(program);
#[cfg(test)]
{
exec_state.single_threaded = true;
}
self.eval_prelude(exec_state, SourceRange::synthetic())
.await
.map_err(KclErrorWithOutputs::no_outputs)?;
self.inner_run(program, exec_state, false).await
}
/// Perform the execution of a program using an (experimental!) concurrent
/// execution model. This has the same signature as [Self::run]. /// execution model. This has the same signature as [Self::run].
/// ///
/// For now -- do not use this unless you're willing to accept some
/// breakage.
///
/// You can optionally pass in some initialization memory for partial /// You can optionally pass in some initialization memory for partial
/// execution. /// execution.
/// ///

View File

@ -32,9 +32,6 @@ pub struct ExecState {
pub(super) global: GlobalState, pub(super) global: GlobalState,
pub(super) mod_local: ModuleState, pub(super) mod_local: ModuleState,
pub(super) exec_context: Option<super::ExecutorContext>, pub(super) exec_context: Option<super::ExecutorContext>,
/// If we should not parallelize execution.
#[cfg(test)]
pub single_threaded: bool,
} }
pub type ModuleInfoMap = IndexMap<ModuleId, ModuleInfo>; pub type ModuleInfoMap = IndexMap<ModuleId, ModuleInfo>;
@ -96,8 +93,6 @@ impl ExecState {
global: GlobalState::new(&exec_context.settings), global: GlobalState::new(&exec_context.settings),
mod_local: ModuleState::new(None, ProgramMemory::new(), Default::default()), mod_local: ModuleState::new(None, ProgramMemory::new(), Default::default()),
exec_context: Some(exec_context.clone()), exec_context: Some(exec_context.clone()),
#[cfg(test)]
single_threaded: false,
} }
} }
@ -108,8 +103,6 @@ impl ExecState {
global, global,
mod_local: ModuleState::new(None, ProgramMemory::new(), Default::default()), mod_local: ModuleState::new(None, ProgramMemory::new(), Default::default()),
exec_context: Some(exec_context.clone()), exec_context: Some(exec_context.clone()),
#[cfg(test)]
single_threaded: false,
}; };
} }

View File

@ -76,6 +76,8 @@ pub mod std;
pub mod test_server; pub mod test_server;
mod thread; mod thread;
mod unparser; mod unparser;
#[cfg(test)]
mod variant_name;
pub mod walk; pub mod walk;
#[cfg(target_arch = "wasm32")] #[cfg(target_arch = "wasm32")]
mod wasm; mod wasm;

View File

@ -14,7 +14,9 @@ use crate::{
}; };
/// Identifier of a source file. Uses a u32 to keep the size small. /// Identifier of a source file. Uses a u32 to keep the size small.
#[derive(Debug, Default, Clone, Copy, PartialEq, Eq, Hash, Deserialize, Serialize, ts_rs::TS, JsonSchema)] #[derive(
Debug, Default, Ord, PartialOrd, Eq, PartialEq, Clone, Copy, Hash, Deserialize, Serialize, ts_rs::TS, JsonSchema,
)]
#[ts(export)] #[ts(export)]
pub struct ModuleId(u32); pub struct ModuleId(u32);

View File

@ -1,5 +1,3 @@
#[cfg(feature = "artifact-graph")]
use std::collections::HashMap;
use std::{ use std::{
panic::{catch_unwind, AssertUnwindSafe}, panic::{catch_unwind, AssertUnwindSafe},
path::{Path, PathBuf}, path::{Path, PathBuf},
@ -53,8 +51,11 @@ where
settings.set_snapshot_path(Path::new("..").join(&test.output_dir)); settings.set_snapshot_path(Path::new("..").join(&test.output_dir));
settings.set_prepend_module_to_snapshot(false); settings.set_prepend_module_to_snapshot(false);
settings.set_description(format!("{operation} {}.kcl", &test.name)); settings.set_description(format!("{operation} {}.kcl", &test.name));
// We don't do it on the flowchart
if operation != "Artifact graph flowchart" {
// Sorting maps makes them easier to diff. // Sorting maps makes them easier to diff.
settings.set_sort_maps(true); settings.set_sort_maps(true);
}
// Replace UUIDs with the string "[uuid]", because otherwise the tests would constantly // Replace UUIDs with the string "[uuid]", because otherwise the tests would constantly
// be changing the UUID. This is a stopgap measure until we make the engine more deterministic. // be changing the UUID. This is a stopgap measure until we make the engine more deterministic.
settings.add_filter( settings.add_filter(
@ -157,11 +158,8 @@ async fn execute_test(test: &Test, render_to_png: bool, export_step: bool) {
let ast = crate::Program::parse_no_errs(&input).unwrap(); let ast = crate::Program::parse_no_errs(&input).unwrap();
// Run the program. // Run the program.
let exec_res = crate::test_server::execute_and_snapshot_ast_single_threaded( let exec_res =
ast, crate::test_server::execute_and_snapshot_ast(ast, Some(test.input_dir.join(&test.entry_point)), export_step)
Some(test.input_dir.join(&test.entry_point)),
export_step,
)
.await; .await;
match exec_res { match exec_res {
Ok((exec_state, env_ref, png, step)) => { Ok((exec_state, env_ref, png, step)) => {
@ -259,35 +257,23 @@ fn assert_common_snapshots(
artifact_commands: Vec<ArtifactCommand>, artifact_commands: Vec<ArtifactCommand>,
artifact_graph: ArtifactGraph, artifact_graph: ArtifactGraph,
) { ) {
let operations = {
// Make the operations deterministic by sorting them by their module ID,
// then by their range.
let mut operations = operations.clone();
operations.sort_by(|a, b| a.partial_cmp(b).unwrap_or(std::cmp::Ordering::Equal));
operations
};
let artifact_commands = { let artifact_commands = {
// Due to our newfound concurrency, we're going to mess with the // Due to our newfound concurrency, we're going to mess with the
// artifact_commands a bit -- we're going to maintain the order, // artifact_commands a bit -- we're going to maintain the order,
// but only for a given module ID. This means the artifact_commands // but only for a given module ID. This means the artifact_commands
// is no longer meaningful, but it is deterministic and will hopefully // is no longer meaningful, but it is deterministic and will hopefully
// catch meaningful changes in behavior. // catch meaningful changes in behavior.
// We sort by the source range, like we do for the operations.
let mut artifact_commands_map = artifact_commands let mut artifact_commands = artifact_commands.clone();
.into_iter() artifact_commands.sort_by(|a, b| a.partial_cmp(b).unwrap_or(std::cmp::Ordering::Equal));
.map(|v| (v.range.module_id().as_usize(), v))
.fold(
HashMap::<usize, Vec<ArtifactCommand>>::new(),
|mut map, (module_id, el)| {
let mut v = map.remove(&module_id).unwrap_or_default();
v.push(el);
map.insert(module_id, v);
map
},
);
let mut artifact_commands_keys = artifact_commands_map.keys().cloned().collect::<Vec<_>>();
artifact_commands_keys.sort();
let artifact_commands: Vec<ArtifactCommand> = artifact_commands_keys
.iter()
.flat_map(|idx| artifact_commands_map.remove(idx).unwrap())
.collect();
assert_eq!(0, artifact_commands_map.len());
artifact_commands artifact_commands
}; };
@ -316,6 +302,10 @@ fn assert_common_snapshots(
})); }));
let result3 = catch_unwind(AssertUnwindSafe(|| { let result3 = catch_unwind(AssertUnwindSafe(|| {
assert_snapshot(test, "Artifact graph flowchart", || { assert_snapshot(test, "Artifact graph flowchart", || {
let mut artifact_graph = artifact_graph.clone();
// Sort the map by artifact where we can.
artifact_graph.sort();
let flowchart = artifact_graph let flowchart = artifact_graph
.to_mermaid_flowchart() .to_mermaid_flowchart()
.unwrap_or_else(|e| format!("Failed to convert artifact graph to flowchart: {e}")); .unwrap_or_else(|e| format!("Failed to convert artifact graph to flowchart: {e}"));

View File

@ -21,6 +21,27 @@ impl From<[usize; 3]> for SourceRange {
} }
} }
impl Ord for SourceRange {
fn cmp(&self, other: &Self) -> std::cmp::Ordering {
// Sort by module id first, then by start and end.
let module_id_cmp = self.module_id().cmp(&other.module_id());
if module_id_cmp != std::cmp::Ordering::Equal {
return module_id_cmp;
}
let start_cmp = self.start().cmp(&other.start());
if start_cmp != std::cmp::Ordering::Equal {
return start_cmp;
}
self.end().cmp(&other.end())
}
}
impl PartialOrd for SourceRange {
fn partial_cmp(&self, other: &Self) -> Option<std::cmp::Ordering> {
Some(self.cmp(other))
}
}
impl From<&SourceRange> for miette::SourceSpan { impl From<&SourceRange> for miette::SourceSpan {
fn from(source_range: &SourceRange) -> Self { fn from(source_range: &SourceRange) -> Self {
let length = source_range.end() - source_range.start(); let length = source_range.end() - source_range.start();

View File

@ -337,14 +337,18 @@ pub(crate) async fn do_post_extrude<'a>(
let next_adjacent_edge_uuid = exec_state.next_uuid(); let next_adjacent_edge_uuid = exec_state.next_uuid();
let get_all_edge_faces_opposite_uuid = exec_state.next_uuid(); let get_all_edge_faces_opposite_uuid = exec_state.next_uuid();
let get_all_edge_faces_next_uuid = exec_state.next_uuid(); let get_all_edge_faces_next_uuid = exec_state.next_uuid();
#[cfg(test)] #[cfg(any(not(test), not(feature = "artifact-graph"), not(target_arch = "wasm32")))]
let single_threaded = exec_state.single_threaded; #[allow(unused_variables)]
#[cfg(all(not(test), not(target_arch = "wasm32")))]
let single_threaded = false; let single_threaded = false;
// When running in vitest, we need to run this in a single thread. // When running in vitest, we need to run this in a single thread.
// Because their workers are complete shit. // Because their workers are complete shit.
#[cfg(all(target_arch = "wasm32", not(test)))] #[cfg(target_arch = "wasm32")]
let single_threaded = crate::wasm::vitest::running_in_vitest(); let single_threaded = crate::wasm::vitest::running_in_vitest();
// If we are running in a test, for the arifact graph to be deterministic and not fail
// after say a fillet runs concurrently, we need to make sure that the
// async tasks are done before we return.
#[cfg(all(test, feature = "artifact-graph", not(target_arch = "wasm32")))]
let single_threaded = true;
// Get faces for original edge // Get faces for original edge
// Since this one is batched we can just run it. // Since this one is batched we can just run it.

View File

@ -21,7 +21,7 @@ pub struct RequestBody {
pub async fn execute_and_snapshot(code: &str, current_file: Option<PathBuf>) -> Result<image::DynamicImage, ExecError> { pub async fn execute_and_snapshot(code: &str, current_file: Option<PathBuf>) -> Result<image::DynamicImage, ExecError> {
let ctx = new_context(true, current_file).await?; let ctx = new_context(true, current_file).await?;
let program = Program::parse_no_errs(code).map_err(KclErrorWithOutputs::no_outputs)?; let program = Program::parse_no_errs(code).map_err(KclErrorWithOutputs::no_outputs)?;
let res = do_execute_and_snapshot(&ctx, program, false) let res = do_execute_and_snapshot(&ctx, program)
.await .await
.map(|(_, _, snap)| snap) .map(|(_, _, snap)| snap)
.map_err(|err| err.error); .map_err(|err| err.error);
@ -32,13 +32,13 @@ pub async fn execute_and_snapshot(code: &str, current_file: Option<PathBuf>) ->
/// Executes a kcl program and takes a snapshot of the result. /// Executes a kcl program and takes a snapshot of the result.
/// This returns the bytes of the snapshot. /// This returns the bytes of the snapshot.
#[cfg(test)] #[cfg(test)]
pub async fn execute_and_snapshot_ast_single_threaded( pub async fn execute_and_snapshot_ast(
ast: Program, ast: Program,
current_file: Option<PathBuf>, current_file: Option<PathBuf>,
with_export_step: bool, with_export_step: bool,
) -> Result<(ExecState, EnvironmentRef, image::DynamicImage, Option<Vec<u8>>), ExecErrorWithState> { ) -> Result<(ExecState, EnvironmentRef, image::DynamicImage, Option<Vec<u8>>), ExecErrorWithState> {
let ctx = new_context(true, current_file).await?; let ctx = new_context(true, current_file).await?;
let (exec_state, env, img) = match do_execute_and_snapshot(&ctx, ast, true).await { let (exec_state, env, img) = match do_execute_and_snapshot(&ctx, ast).await {
Ok((exec_state, env_ref, img)) => (exec_state, env_ref, img), Ok((exec_state, env_ref, img)) => (exec_state, env_ref, img),
Err(err) => { Err(err) => {
// If there was an error executing the program, return it. // If there was an error executing the program, return it.
@ -73,7 +73,7 @@ pub async fn execute_and_snapshot_no_auth(
) -> Result<(image::DynamicImage, EnvironmentRef), ExecError> { ) -> Result<(image::DynamicImage, EnvironmentRef), ExecError> {
let ctx = new_context(false, current_file).await?; let ctx = new_context(false, current_file).await?;
let program = Program::parse_no_errs(code).map_err(KclErrorWithOutputs::no_outputs)?; let program = Program::parse_no_errs(code).map_err(KclErrorWithOutputs::no_outputs)?;
let res = do_execute_and_snapshot(&ctx, program, false) let res = do_execute_and_snapshot(&ctx, program)
.await .await
.map(|(_, env_ref, snap)| (snap, env_ref)) .map(|(_, env_ref, snap)| (snap, env_ref))
.map_err(|err| err.error); .map_err(|err| err.error);
@ -84,14 +84,11 @@ pub async fn execute_and_snapshot_no_auth(
async fn do_execute_and_snapshot( async fn do_execute_and_snapshot(
ctx: &ExecutorContext, ctx: &ExecutorContext,
program: Program, program: Program,
single_threaded: bool,
) -> Result<(ExecState, EnvironmentRef, image::DynamicImage), ExecErrorWithState> { ) -> Result<(ExecState, EnvironmentRef, image::DynamicImage), ExecErrorWithState> {
let mut exec_state = ExecState::new(ctx); let mut exec_state = ExecState::new(ctx);
let result = if single_threaded { let result = ctx
ctx.run_single_threaded(&program, &mut exec_state).await .run(&program, &mut exec_state)
} else { .await
ctx.run(&program, &mut exec_state).await
}
.map_err(|err| ExecErrorWithState::new(err.into(), exec_state.clone()))?; .map_err(|err| ExecErrorWithState::new(err.into(), exec_state.clone()))?;
for e in exec_state.errors() { for e in exec_state.errors() {
if e.severity.is_err() { if e.severity.is_err() {

View File

@ -0,0 +1,15 @@
use serde::Serialize;
use serde_json::Value;
/// Extract the variant tag of any enum that uses Serde.
#[allow(dead_code)]
pub fn variant_name<T: Serialize>(v: &T) -> String {
// 1. Serialize to JSON Value.
match serde_json::to_value(v).unwrap() {
// internally-tagged: {"type": "Foo", ...}
Value::Object(ref map) if map.get("type").is_some() => map["type"].as_str().unwrap().to_string(),
// externally-tagged: {"Foo": {...}}
Value::Object(map) => map.keys().next().unwrap().as_str().to_string(),
_ => panic!("untagged enum or unsupported representation"),
}
}

File diff suppressed because it is too large Load Diff

View File

@ -70,13 +70,6 @@ description: Artifact commands angled_line.kcl
} }
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -97,6 +90,13 @@ description: Artifact commands angled_line.kcl
"type": "sketch_mode_disable" "type": "sketch_mode_disable"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -217,6 +217,14 @@ description: Artifact commands angled_line.kcl
"opposite": "None" "opposite": "None"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -228,8 +236,162 @@ description: Artifact commands angled_line.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "object_bring_to_front", "type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]" "object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
} }
}, },
{ {
@ -245,30 +407,12 @@ description: Artifact commands angled_line.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -283,39 +427,12 @@ description: Artifact commands angled_line.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -330,39 +447,12 @@ description: Artifact commands angled_line.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -377,18 +467,10 @@ description: Artifact commands angled_line.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]" "edge_id": "[uuid]",
} "face_id": "[uuid]"
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
} }
}, },
{ {
@ -405,39 +487,12 @@ description: Artifact commands angled_line.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -448,43 +503,6 @@ description: Artifact commands angled_line.kcl
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -499,28 +517,10 @@ description: Artifact commands angled_line.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
} }
] ]

View File

@ -21,16 +21,16 @@ flowchart LR
17["Cap Start"] 17["Cap Start"]
18["Cap End"] 18["Cap End"]
19["SweepEdge Opposite"] 19["SweepEdge Opposite"]
20["SweepEdge Adjacent"] 20["SweepEdge Opposite"]
21["SweepEdge Opposite"] 21["SweepEdge Opposite"]
22["SweepEdge Adjacent"] 22["SweepEdge Opposite"]
23["SweepEdge Opposite"] 23["SweepEdge Opposite"]
24["SweepEdge Adjacent"] 24["SweepEdge Opposite"]
25["SweepEdge Opposite"] 25["SweepEdge Adjacent"]
26["SweepEdge Adjacent"] 26["SweepEdge Adjacent"]
27["SweepEdge Opposite"] 27["SweepEdge Adjacent"]
28["SweepEdge Adjacent"] 28["SweepEdge Adjacent"]
29["SweepEdge Opposite"] 29["SweepEdge Adjacent"]
30["SweepEdge Adjacent"] 30["SweepEdge Adjacent"]
1 --- 2 1 --- 2
2 --- 3 2 --- 3
@ -39,32 +39,32 @@ flowchart LR
2 --- 6 2 --- 6
2 --- 7 2 --- 7
2 --- 8 2 --- 8
2 ---- 10
2 --- 9 2 --- 9
2 ---- 10
3 --- 16 3 --- 16
3 --- 29
3 --- 30
3 x--> 17 3 x--> 17
4 --- 15 3 --- 23
4 --- 27 3 --- 25
4 --- 28 4 --- 14
4 x--> 17 4 x--> 17
5 --- 14 4 --- 21
5 --- 25 4 --- 27
5 --- 26 5 --- 13
5 x--> 17 5 x--> 17
6 --- 13 5 --- 19
6 --- 23 5 --- 29
6 --- 24 6 --- 15
6 x--> 17 6 x--> 17
6 --- 22
6 --- 26
7 --- 12 7 --- 12
7 --- 21
7 --- 22
7 x--> 17 7 x--> 17
7 --- 20
7 --- 30
8 --- 11 8 --- 11
8 --- 19
8 --- 20
8 x--> 17 8 x--> 17
8 --- 24
8 --- 28
10 --- 11 10 --- 11
10 --- 12 10 --- 12
10 --- 13 10 --- 13
@ -85,28 +85,28 @@ flowchart LR
10 --- 28 10 --- 28
10 --- 29 10 --- 29
10 --- 30 10 --- 30
19 <--x 11 24 <--x 11
19 <--x 18 28 <--x 11
20 <--x 11 30 <--x 11
20 <--x 16 20 <--x 12
21 <--x 12 26 <--x 12
21 <--x 18 30 <--x 12
22 <--x 11 19 <--x 13
22 <--x 12 27 <--x 13
23 <--x 13 29 <--x 13
23 <--x 18 21 <--x 14
24 <--x 12
24 <--x 13
25 <--x 14 25 <--x 14
25 <--x 18 27 <--x 14
26 <--x 13 22 <--x 15
26 <--x 14 26 <--x 15
27 <--x 15 29 <--x 15
27 <--x 18 23 <--x 16
28 <--x 14 25 <--x 16
28 <--x 15 28 <--x 16
29 <--x 16 19 <--x 18
29 <--x 18 20 <--x 18
30 <--x 15 21 <--x 18
30 <--x 16 22 <--x 18
23 <--x 18
24 <--x 18
``` ```

View File

@ -70,13 +70,6 @@ description: Artifact commands artifact_graph_example_code1.kcl
} }
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -97,6 +90,13 @@ description: Artifact commands artifact_graph_example_code1.kcl
"type": "sketch_mode_disable" "type": "sketch_mode_disable"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -200,6 +200,14 @@ description: Artifact commands artifact_graph_example_code1.kcl
"opposite": "None" "opposite": "None"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -211,8 +219,108 @@ description: Artifact commands artifact_graph_example_code1.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "object_bring_to_front", "type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]" "object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
} }
}, },
{ {
@ -228,30 +336,12 @@ description: Artifact commands artifact_graph_example_code1.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -266,39 +356,12 @@ description: Artifact commands artifact_graph_example_code1.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -313,18 +376,10 @@ description: Artifact commands artifact_graph_example_code1.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]" "edge_id": "[uuid]",
} "face_id": "[uuid]"
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
} }
}, },
{ {
@ -337,43 +392,6 @@ description: Artifact commands artifact_graph_example_code1.kcl
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -388,30 +406,12 @@ description: Artifact commands artifact_graph_example_code1.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -436,13 +436,6 @@ description: Artifact commands artifact_graph_example_code1.kcl
"planar_normal": null "planar_normal": null
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -463,6 +456,13 @@ description: Artifact commands artifact_graph_example_code1.kcl
"type": "sketch_mode_disable" "type": "sketch_mode_disable"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -545,6 +545,14 @@ description: Artifact commands artifact_graph_example_code1.kcl
"opposite": "None" "opposite": "None"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -556,8 +564,81 @@ description: Artifact commands artifact_graph_example_code1.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "object_bring_to_front", "type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]" "object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
} }
}, },
{ {
@ -573,30 +654,12 @@ description: Artifact commands artifact_graph_example_code1.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -611,18 +674,10 @@ description: Artifact commands artifact_graph_example_code1.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]" "edge_id": "[uuid]",
} "face_id": "[uuid]"
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
} }
}, },
{ {
@ -635,43 +690,6 @@ description: Artifact commands artifact_graph_example_code1.kcl
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -686,28 +704,10 @@ description: Artifact commands artifact_graph_example_code1.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
} }
] ]

View File

@ -1,146 +1,146 @@
```mermaid ```mermaid
flowchart LR flowchart LR
subgraph path2 [Path] subgraph path3 [Path]
2["Path<br>[37, 64, 0]"] 3["Path<br>[37, 64, 0]"]
3["Segment<br>[70, 89, 0]"] 5["Segment<br>[70, 89, 0]"]
4["Segment<br>[95, 131, 0]"] 6["Segment<br>[95, 131, 0]"]
5["Segment<br>[137, 171, 0]"] 7["Segment<br>[137, 171, 0]"]
6["Segment<br>[177, 233, 0]"] 8["Segment<br>[177, 233, 0]"]
7["Segment<br>[239, 246, 0]"] 9["Segment<br>[239, 246, 0]"]
8[Solid2d] 15[Solid2d]
end end
subgraph path25 [Path] subgraph path4 [Path]
25["Path<br>[390, 417, 0]"] 4["Path<br>[390, 417, 0]"]
26["Segment<br>[423, 441, 0]"] 10["Segment<br>[423, 441, 0]"]
27["Segment<br>[447, 466, 0]"] 11["Segment<br>[447, 466, 0]"]
28["Segment<br>[472, 528, 0]"] 12["Segment<br>[472, 528, 0]"]
29["Segment<br>[534, 541, 0]"] 13["Segment<br>[534, 541, 0]"]
30[Solid2d] 14[Solid2d]
end end
1["Plane<br>[12, 31, 0]"] 1["Plane<br>[12, 31, 0]"]
9["Sweep Extrusion<br>[260, 292, 0]"] 2["StartSketchOnFace<br>[345, 384, 0]"]
10[Wall] 16["Sweep Extrusion<br>[260, 292, 0]"]
11[Wall] 17["Sweep Extrusion<br>[555, 585, 0]"]
12[Wall] 18[Wall]
13[Wall] 19[Wall]
14["Cap Start"] 20[Wall]
15["Cap End"] 21[Wall]
16["SweepEdge Opposite"] 22[Wall]
17["SweepEdge Adjacent"] 23[Wall]
18["SweepEdge Opposite"] 24[Wall]
19["SweepEdge Adjacent"] 25["Cap Start"]
20["SweepEdge Opposite"] 26["Cap End"]
21["SweepEdge Adjacent"] 27["Cap End"]
22["SweepEdge Opposite"] 28["SweepEdge Opposite"]
23["SweepEdge Adjacent"] 29["SweepEdge Opposite"]
24["EdgeCut Fillet<br>[298, 332, 0]"] 30["SweepEdge Opposite"]
31["Sweep Extrusion<br>[555, 585, 0]"] 31["SweepEdge Opposite"]
32[Wall] 32["SweepEdge Opposite"]
33[Wall] 33["SweepEdge Opposite"]
34[Wall] 34["SweepEdge Opposite"]
35["Cap End"] 35["SweepEdge Adjacent"]
36["SweepEdge Opposite"] 36["SweepEdge Adjacent"]
37["SweepEdge Adjacent"] 37["SweepEdge Adjacent"]
38["SweepEdge Opposite"] 38["SweepEdge Adjacent"]
39["SweepEdge Adjacent"] 39["SweepEdge Adjacent"]
40["SweepEdge Opposite"] 40["SweepEdge Adjacent"]
41["SweepEdge Adjacent"] 41["SweepEdge Adjacent"]
42["StartSketchOnFace<br>[345, 384, 0]"] 42["EdgeCut Fillet<br>[298, 332, 0]"]
1 --- 2 1 --- 3
2 --- 3 21 x--> 2
2 --- 4 3 --- 5
2 --- 5 3 --- 6
2 --- 6 3 --- 7
2 --- 7 3 --- 8
2 ---- 9 3 --- 9
2 --- 8 3 --- 15
3 --- 13 3 ---- 16
3 --- 22 4 --- 10
3 --- 23 4 --- 11
3 x--> 15
4 --- 12 4 --- 12
4 --- 20 4 --- 13
4 --- 21 4 --- 14
4 --- 24 4 ---- 17
4 x--> 15 21 --- 4
5 --- 11 5 --- 20
5 --- 18 5 x--> 26
5 --- 19 5 --- 29
5 x--> 15 5 --- 35
6 --- 10 6 --- 18
6 --- 16 6 x--> 26
6 --- 17 6 --- 30
6 x--> 15 6 --- 37
9 --- 10 6 --- 42
9 --- 11 7 --- 21
9 --- 12 7 x--> 26
9 --- 13 7 --- 31
9 --- 14 7 --- 36
9 --- 15 8 --- 19
9 --- 16 8 x--> 26
9 --- 17 8 --- 28
9 --- 18 8 --- 38
9 --- 19 10 x--> 21
9 --- 20 10 --- 23
9 --- 21 10 --- 33
9 --- 22 10 --- 39
9 --- 23 11 x--> 21
11 --- 25 11 --- 22
16 <--x 10 11 --- 32
16 <--x 14 11 --- 40
17 <--x 10 12 x--> 21
17 <--x 13 12 --- 24
18 <--x 11 12 --- 34
18 <--x 14 12 --- 41
19 <--x 10 16 --- 18
19 <--x 11 16 --- 19
20 <--x 12 16 --- 20
20 <--x 14 16 --- 21
21 <--x 11 16 --- 25
21 <--x 12 16 --- 26
22 <--x 13 16 --- 28
22 <--x 14 16 --- 29
23 <--x 12 16 --- 30
23 <--x 13 16 --- 31
25 --- 26 16 --- 35
25 --- 27 16 --- 36
25 --- 28 16 --- 37
25 --- 29 16 --- 38
25 ---- 31 17 --- 22
25 --- 30 17 --- 23
26 --- 34 17 --- 24
26 --- 40 17 --- 27
26 --- 41 17 --- 32
26 <--x 11 17 --- 33
27 --- 33 17 --- 34
27 --- 38 17 --- 39
27 --- 39 17 --- 40
27 <--x 11 17 --- 41
28 --- 32 30 <--x 18
28 --- 36 35 <--x 18
28 --- 37 37 <--x 18
28 <--x 11 28 <--x 19
31 --- 32 36 <--x 19
31 --- 33 38 <--x 19
31 --- 34 29 <--x 20
31 --- 35 35 <--x 20
31 --- 36 38 <--x 20
31 --- 37 31 <--x 21
31 --- 38 36 <--x 21
31 --- 39 37 <--x 21
31 --- 40 32 <--x 22
31 --- 41 39 <--x 22
36 <--x 32 40 <--x 22
36 <--x 35 33 <--x 23
37 <--x 32 39 <--x 23
37 <--x 34 41 <--x 23
38 <--x 33 34 <--x 24
38 <--x 35 40 <--x 24
39 <--x 32 41 <--x 24
39 <--x 33 28 <--x 25
40 <--x 34 29 <--x 25
40 <--x 35 30 <--x 25
41 <--x 33 31 <--x 25
41 <--x 34 32 <--x 27
11 <--x 42 33 <--x 27
34 <--x 27
``` ```

View File

@ -70,13 +70,6 @@ description: Artifact commands artifact_graph_example_code_no_3d.kcl
} }
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -97,6 +90,13 @@ description: Artifact commands artifact_graph_example_code_no_3d.kcl
"type": "sketch_mode_disable" "type": "sketch_mode_disable"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -214,13 +214,6 @@ description: Artifact commands artifact_graph_example_code_no_3d.kcl
} }
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -241,6 +234,13 @@ description: Artifact commands artifact_graph_example_code_no_3d.kcl
"type": "sketch_mode_disable" "type": "sketch_mode_disable"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],

View File

@ -1,31 +1,31 @@
```mermaid ```mermaid
flowchart LR flowchart LR
subgraph path2 [Path] subgraph path3 [Path]
2["Path<br>[37, 65, 0]"] 3["Path<br>[37, 65, 0]"]
3["Segment<br>[71, 139, 0]"] 5["Segment<br>[71, 139, 0]"]
4["Segment<br>[145, 242, 0]"] 6["Segment<br>[145, 242, 0]"]
5["Segment<br>[248, 365, 0]"] 7["Segment<br>[248, 365, 0]"]
6["Segment<br>[371, 427, 0]"] 8["Segment<br>[371, 427, 0]"]
7["Segment<br>[433, 440, 0]"] 9["Segment<br>[433, 440, 0]"]
8[Solid2d] 13[Solid2d]
end end
subgraph path10 [Path] subgraph path4 [Path]
10["Path<br>[479, 508, 0]"] 4["Path<br>[479, 508, 0]"]
11["Segment<br>[514, 539, 0]"] 10["Segment<br>[514, 539, 0]"]
12["Segment<br>[545, 580, 0]"] 11["Segment<br>[545, 580, 0]"]
13["Segment<br>[586, 627, 0]"] 12["Segment<br>[586, 627, 0]"]
end end
1["Plane<br>[12, 31, 0]"] 1["Plane<br>[12, 31, 0]"]
9["Plane<br>[453, 473, 0]"] 2["Plane<br>[453, 473, 0]"]
1 --- 2 1 --- 3
2 --- 3
2 --- 4 2 --- 4
2 --- 5 3 --- 5
2 --- 6 3 --- 6
2 --- 7 3 --- 7
2 --- 8 3 --- 8
9 --- 10 3 --- 9
10 --- 11 3 --- 13
10 --- 12 4 --- 10
10 --- 13 4 --- 11
4 --- 12
``` ```

View File

@ -162,13 +162,6 @@ description: Artifact commands artifact_graph_example_code_offset_planes.kcl
} }
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -182,6 +175,15 @@ description: Artifact commands artifact_graph_example_code_offset_planes.kcl
} }
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_visible",
"object_id": "[uuid]",
"hidden": true
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -189,6 +191,13 @@ description: Artifact commands artifact_graph_example_code_offset_planes.kcl
"type": "sketch_mode_disable" "type": "sketch_mode_disable"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -205,14 +214,5 @@ description: Artifact commands artifact_graph_example_code_offset_planes.kcl
"relative": true "relative": true
} }
} }
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_visible",
"object_id": "[uuid]",
"hidden": true
}
} }
] ]

View File

@ -1,14 +1,14 @@
```mermaid ```mermaid
flowchart LR flowchart LR
subgraph path4 [Path] subgraph path5 [Path]
4["Path<br>[193, 218, 0]"] 5["Path<br>[193, 218, 0]"]
5["Segment<br>[224, 249, 0]"] 6["Segment<br>[224, 249, 0]"]
end end
1["Plane<br>[17, 47, 0]"] 1["Plane<br>[17, 47, 0]"]
2["Plane<br>[65, 96, 0]"] 2["Plane<br>[65, 96, 0]"]
3["Plane<br>[114, 144, 0]"] 3["Plane<br>[114, 144, 0]"]
6["StartSketchOnPlane<br>[158, 187, 0]"] 4["StartSketchOnPlane<br>[158, 187, 0]"]
1 --- 4 1 <--x 4
4 --- 5 1 --- 5
1 <--x 6 5 --- 6
``` ```

View File

@ -70,13 +70,6 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
} }
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -97,6 +90,13 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"type": "sketch_mode_disable" "type": "sketch_mode_disable"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -183,6 +183,14 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"opposite": "None" "opposite": "None"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -194,8 +202,81 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "object_bring_to_front", "type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]" "object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
} }
}, },
{ {
@ -211,30 +292,12 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -249,18 +312,10 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]" "edge_id": "[uuid]",
} "face_id": "[uuid]"
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
} }
}, },
{ {
@ -273,43 +328,6 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -324,30 +342,12 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -360,13 +360,6 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"planar_normal": null "planar_normal": null
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -387,6 +380,13 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"type": "sketch_mode_disable" "type": "sketch_mode_disable"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -469,6 +469,14 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"opposite": "None" "opposite": "None"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -480,8 +488,81 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "object_bring_to_front", "type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]" "object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
} }
}, },
{ {
@ -497,30 +578,12 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -535,18 +598,10 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]" "edge_id": "[uuid]",
} "face_id": "[uuid]"
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
} }
}, },
{ {
@ -559,43 +614,6 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -610,30 +628,12 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -646,13 +646,6 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"planar_normal": null "planar_normal": null
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -673,6 +666,13 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"type": "sketch_mode_disable" "type": "sketch_mode_disable"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -755,6 +755,14 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"opposite": "None" "opposite": "None"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -766,8 +774,81 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "object_bring_to_front", "type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]" "object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
} }
}, },
{ {
@ -783,30 +864,12 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -821,18 +884,10 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]" "edge_id": "[uuid]",
} "face_id": "[uuid]"
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
} }
}, },
{ {
@ -845,43 +900,6 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -896,30 +914,12 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -932,13 +932,6 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"planar_normal": null "planar_normal": null
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -959,6 +952,13 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"type": "sketch_mode_disable" "type": "sketch_mode_disable"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -1041,6 +1041,14 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"opposite": "None" "opposite": "None"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -1052,8 +1060,81 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "object_bring_to_front", "type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]" "object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
} }
}, },
{ {
@ -1069,30 +1150,12 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -1107,18 +1170,10 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]" "edge_id": "[uuid]",
} "face_id": "[uuid]"
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
} }
}, },
{ {
@ -1131,43 +1186,6 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -1182,28 +1200,10 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
} }
] ]

View File

@ -1,252 +1,252 @@
```mermaid ```mermaid
flowchart LR flowchart LR
subgraph path2 [Path] subgraph path5 [Path]
2["Path<br>[35, 60, 0]"] 5["Path<br>[35, 60, 0]"]
3["Segment<br>[66, 84, 0]"] 9["Segment<br>[66, 84, 0]"]
4["Segment<br>[90, 123, 0]"] 10["Segment<br>[90, 123, 0]"]
5["Segment<br>[129, 185, 0]"] 11["Segment<br>[129, 185, 0]"]
6["Segment<br>[191, 198, 0]"] 12["Segment<br>[191, 198, 0]"]
7[Solid2d] 27[Solid2d]
end end
subgraph path20 [Path] subgraph path6 [Path]
20["Path<br>[300, 330, 0]"] 6["Path<br>[300, 330, 0]"]
21["Segment<br>[336, 354, 0]"] 13["Segment<br>[336, 354, 0]"]
22["Segment<br>[360, 379, 0]"] 14["Segment<br>[360, 379, 0]"]
23["Segment<br>[385, 441, 0]"] 15["Segment<br>[385, 441, 0]"]
24["Segment<br>[447, 454, 0]"] 16["Segment<br>[447, 454, 0]"]
25[Solid2d] 25[Solid2d]
end end
subgraph path37 [Path] subgraph path7 [Path]
37["Path<br>[556, 583, 0]"] 7["Path<br>[556, 583, 0]"]
38["Segment<br>[589, 623, 0]"] 17["Segment<br>[589, 623, 0]"]
39["Segment<br>[629, 648, 0]"] 18["Segment<br>[629, 648, 0]"]
40["Segment<br>[654, 710, 0]"] 19["Segment<br>[654, 710, 0]"]
41["Segment<br>[716, 723, 0]"] 20["Segment<br>[716, 723, 0]"]
42[Solid2d] 28[Solid2d]
end end
subgraph path54 [Path] subgraph path8 [Path]
54["Path<br>[825, 852, 0]"] 8["Path<br>[825, 852, 0]"]
55["Segment<br>[858, 878, 0]"] 21["Segment<br>[858, 878, 0]"]
56["Segment<br>[884, 905, 0]"] 22["Segment<br>[884, 905, 0]"]
57["Segment<br>[911, 967, 0]"] 23["Segment<br>[911, 967, 0]"]
58["Segment<br>[973, 980, 0]"] 24["Segment<br>[973, 980, 0]"]
59[Solid2d] 26[Solid2d]
end end
1["Plane<br>[12, 29, 0]"] 1["Plane<br>[12, 29, 0]"]
8["Sweep Extrusion<br>[212, 242, 0]"] 2["StartSketchOnFace<br>[255, 294, 0]"]
9[Wall] 3["StartSketchOnFace<br>[780, 819, 0]"]
10[Wall] 4["StartSketchOnFace<br>[511, 550, 0]"]
11[Wall] 29["Sweep Extrusion<br>[212, 242, 0]"]
12["Cap Start"] 30["Sweep Extrusion<br>[468, 498, 0]"]
13["Cap End"] 31["Sweep Extrusion<br>[737, 767, 0]"]
14["SweepEdge Opposite"] 32["Sweep Extrusion<br>[994, 1024, 0]"]
15["SweepEdge Adjacent"] 33[Wall]
16["SweepEdge Opposite"] 34[Wall]
17["SweepEdge Adjacent"] 35[Wall]
18["SweepEdge Opposite"] 36[Wall]
19["SweepEdge Adjacent"] 37[Wall]
26["Sweep Extrusion<br>[468, 498, 0]"] 38[Wall]
27[Wall] 39[Wall]
28[Wall] 40[Wall]
29[Wall] 41[Wall]
30["Cap End"] 42[Wall]
31["SweepEdge Opposite"] 43[Wall]
32["SweepEdge Adjacent"]
33["SweepEdge Opposite"]
34["SweepEdge Adjacent"]
35["SweepEdge Opposite"]
36["SweepEdge Adjacent"]
43["Sweep Extrusion<br>[737, 767, 0]"]
44[Wall] 44[Wall]
45[Wall] 45["Cap Start"]
46[Wall] 46["Cap End"]
47["Cap End"] 47["Cap End"]
48["SweepEdge Opposite"] 48["Cap End"]
49["SweepEdge Adjacent"] 49["Cap End"]
50["SweepEdge Opposite"] 50["SweepEdge Opposite"]
51["SweepEdge Adjacent"] 51["SweepEdge Opposite"]
52["SweepEdge Opposite"] 52["SweepEdge Opposite"]
53["SweepEdge Adjacent"] 53["SweepEdge Opposite"]
60["Sweep Extrusion<br>[994, 1024, 0]"] 54["SweepEdge Opposite"]
61[Wall] 55["SweepEdge Opposite"]
62[Wall] 56["SweepEdge Opposite"]
63[Wall] 57["SweepEdge Opposite"]
64["Cap End"] 58["SweepEdge Opposite"]
65["SweepEdge Opposite"] 59["SweepEdge Opposite"]
60["SweepEdge Opposite"]
61["SweepEdge Opposite"]
62["SweepEdge Adjacent"]
63["SweepEdge Adjacent"]
64["SweepEdge Adjacent"]
65["SweepEdge Adjacent"]
66["SweepEdge Adjacent"] 66["SweepEdge Adjacent"]
67["SweepEdge Opposite"] 67["SweepEdge Adjacent"]
68["SweepEdge Adjacent"] 68["SweepEdge Adjacent"]
69["SweepEdge Opposite"] 69["SweepEdge Adjacent"]
70["SweepEdge Adjacent"] 70["SweepEdge Adjacent"]
71["StartSketchOnFace<br>[255, 294, 0]"] 71["SweepEdge Adjacent"]
72["StartSketchOnFace<br>[511, 550, 0]"] 72["SweepEdge Adjacent"]
73["StartSketchOnFace<br>[780, 819, 0]"] 73["SweepEdge Adjacent"]
1 --- 2 1 --- 5
2 --- 3 41 x--> 2
2 --- 4 44 x--> 3
2 --- 5 47 x--> 4
2 --- 6
2 ---- 8
2 --- 7
3 --- 11
3 --- 18
3 --- 19
3 x--> 12
4 --- 10
4 --- 16
4 --- 17
4 x--> 12
5 --- 9 5 --- 9
5 --- 14 5 --- 10
5 --- 15 5 --- 11
5 x--> 12 5 --- 12
8 --- 9 5 --- 27
8 --- 10 5 ---- 29
8 --- 11 6 --- 13
8 --- 12 6 --- 14
8 --- 13 6 --- 15
8 --- 14 6 --- 16
8 --- 15 6 --- 25
8 --- 16 6 ---- 30
8 --- 17 41 --- 6
8 --- 18 7 --- 17
8 --- 19 7 --- 18
10 --- 20 7 --- 19
14 <--x 9 7 --- 20
14 <--x 13 7 --- 28
15 <--x 9 7 ---- 31
15 <--x 11 47 --- 7
16 <--x 10 8 --- 21
16 <--x 13 8 --- 22
17 <--x 9 8 --- 23
17 <--x 10 8 --- 24
18 <--x 11 8 --- 26
18 <--x 13 8 ---- 32
19 <--x 10 44 --- 8
19 <--x 11 9 --- 40
20 --- 21 9 x--> 45
20 --- 22 9 --- 58
20 --- 23 9 --- 69
20 --- 24 10 --- 41
20 ---- 26 10 x--> 45
20 --- 25 10 --- 56
21 --- 29 10 --- 70
21 --- 35 11 --- 39
21 --- 36 11 x--> 45
21 <--x 10 11 --- 57
22 --- 28 11 --- 68
22 --- 33 13 --- 38
22 --- 34 13 x--> 41
22 <--x 10 13 --- 53
23 --- 27 13 --- 66
23 --- 31 14 --- 37
23 --- 32 14 x--> 41
23 <--x 10 14 --- 54
26 --- 27 14 --- 65
26 --- 28 15 --- 36
26 --- 29 15 x--> 41
26 --- 30 15 --- 55
26 --- 31 15 --- 67
26 --- 32 17 --- 44
26 --- 33 17 x--> 47
26 --- 34 17 --- 60
26 --- 35 17 --- 72
26 --- 36 18 --- 42
18 x--> 47
18 --- 61
18 --- 71
19 --- 43
19 x--> 47
19 --- 59
19 --- 73
21 --- 33
21 x--> 44
21 --- 51
21 --- 64
22 --- 35
22 x--> 44
22 --- 50
22 --- 62
23 --- 34
23 x--> 44
23 --- 52
23 --- 63
29 --- 39
29 --- 40
29 --- 41
29 --- 45
29 --- 48
29 --- 56
29 --- 57
29 --- 58
29 --- 68
29 --- 69
29 --- 70
30 --- 36
30 --- 37 30 --- 37
31 <--x 27 30 --- 38
31 <--x 30 30 --- 47
32 <--x 27 30 --- 53
32 <--x 29 30 --- 54
33 <--x 28 30 --- 55
33 <--x 30 30 --- 65
34 <--x 27 30 --- 66
34 <--x 28 30 --- 67
35 <--x 29 31 --- 42
35 <--x 30 31 --- 43
36 <--x 28 31 --- 44
36 <--x 29 31 --- 49
37 --- 38 31 --- 59
37 --- 39 31 --- 60
37 --- 40 31 --- 61
37 --- 41 31 --- 71
37 ---- 43 31 --- 72
37 --- 42 31 --- 73
38 --- 46 32 --- 33
38 --- 52 32 --- 34
38 --- 53 32 --- 35
38 <--x 30 32 --- 46
39 --- 45 32 --- 50
39 --- 50 32 --- 51
39 --- 51 32 --- 52
39 <--x 30 32 --- 62
40 --- 44 32 --- 63
40 --- 48 32 --- 64
40 --- 49 51 <--x 33
40 <--x 30 63 <--x 33
43 --- 44 64 <--x 33
43 --- 45 52 <--x 34
43 --- 46 62 <--x 34
43 --- 47 63 <--x 34
43 --- 48 50 <--x 35
43 --- 49 62 <--x 35
43 --- 50 64 <--x 35
43 --- 51 55 <--x 36
43 --- 52 65 <--x 36
43 --- 53 67 <--x 36
46 --- 54 54 <--x 37
48 <--x 44 65 <--x 37
48 <--x 47 66 <--x 37
49 <--x 44 53 <--x 38
49 <--x 46 66 <--x 38
50 <--x 45 67 <--x 38
50 <--x 47 57 <--x 39
51 <--x 44 68 <--x 39
51 <--x 45 70 <--x 39
58 <--x 40
68 <--x 40
69 <--x 40
56 <--x 41
69 <--x 41
70 <--x 41
61 <--x 42
71 <--x 42
72 <--x 42
59 <--x 43
71 <--x 43
73 <--x 43
60 <--x 44
72 <--x 44
73 <--x 44
50 <--x 46
51 <--x 46
52 <--x 46 52 <--x 46
52 <--x 47 53 <--x 47
53 <--x 45 54 <--x 47
53 <--x 46 55 <--x 47
54 --- 55 56 <--x 48
54 --- 56 57 <--x 48
54 --- 57 58 <--x 48
54 --- 58 59 <--x 49
54 ---- 60 60 <--x 49
54 --- 59 61 <--x 49
55 --- 63
55 --- 69
55 --- 70
55 <--x 46
56 --- 62
56 --- 67
56 --- 68
56 <--x 46
57 --- 61
57 --- 65
57 --- 66
57 <--x 46
60 --- 61
60 --- 62
60 --- 63
60 --- 64
60 --- 65
60 --- 66
60 --- 67
60 --- 68
60 --- 69
60 --- 70
65 <--x 61
65 <--x 64
66 <--x 61
66 <--x 63
67 <--x 62
67 <--x 64
68 <--x 61
68 <--x 62
69 <--x 63
69 <--x 64
70 <--x 62
70 <--x 63
10 <--x 71
30 <--x 72
46 <--x 73
``` ```

View File

@ -70,13 +70,6 @@ description: Artifact commands assembly_mixed_units_cubes.kcl
} }
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -97,6 +90,13 @@ description: Artifact commands assembly_mixed_units_cubes.kcl
"type": "sketch_mode_disable" "type": "sketch_mode_disable"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -200,6 +200,14 @@ description: Artifact commands assembly_mixed_units_cubes.kcl
"opposite": "None" "opposite": "None"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -211,8 +219,108 @@ description: Artifact commands assembly_mixed_units_cubes.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "object_bring_to_front", "type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]" "object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
} }
}, },
{ {
@ -228,30 +336,12 @@ description: Artifact commands assembly_mixed_units_cubes.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -266,39 +356,12 @@ description: Artifact commands assembly_mixed_units_cubes.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -313,18 +376,10 @@ description: Artifact commands assembly_mixed_units_cubes.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]" "edge_id": "[uuid]",
} "face_id": "[uuid]"
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
} }
}, },
{ {
@ -337,43 +392,6 @@ description: Artifact commands assembly_mixed_units_cubes.kcl
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -388,30 +406,12 @@ description: Artifact commands assembly_mixed_units_cubes.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -453,13 +453,6 @@ description: Artifact commands assembly_mixed_units_cubes.kcl
} }
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -480,6 +473,13 @@ description: Artifact commands assembly_mixed_units_cubes.kcl
"type": "sketch_mode_disable" "type": "sketch_mode_disable"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -583,6 +583,14 @@ description: Artifact commands assembly_mixed_units_cubes.kcl
"opposite": "None" "opposite": "None"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -594,8 +602,108 @@ description: Artifact commands assembly_mixed_units_cubes.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "object_bring_to_front", "type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]" "object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
} }
}, },
{ {
@ -611,30 +719,12 @@ description: Artifact commands assembly_mixed_units_cubes.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -649,39 +739,12 @@ description: Artifact commands assembly_mixed_units_cubes.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -696,18 +759,10 @@ description: Artifact commands assembly_mixed_units_cubes.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]" "edge_id": "[uuid]",
} "face_id": "[uuid]"
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
} }
}, },
{ {
@ -720,43 +775,6 @@ description: Artifact commands assembly_mixed_units_cubes.kcl
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -771,28 +789,10 @@ description: Artifact commands assembly_mixed_units_cubes.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
} }
] ]

View File

@ -1,161 +1,161 @@
```mermaid ```mermaid
flowchart LR flowchart LR
subgraph path2 [Path] subgraph path3 [Path]
2["Path<br>[76, 116, 8]"] 3["Path<br>[76, 116, 8]"]
3["Segment<br>[122, 139, 8]"] 5["Segment<br>[122, 139, 8]"]
4["Segment<br>[145, 163, 8]"] 6["Segment<br>[145, 163, 8]"]
5["Segment<br>[169, 187, 8]"] 7["Segment<br>[169, 187, 8]"]
6["Segment<br>[193, 249, 8]"] 8["Segment<br>[193, 249, 8]"]
7["Segment<br>[255, 262, 8]"] 9["Segment<br>[255, 262, 8]"]
8[Solid2d] 15[Solid2d]
end end
subgraph path25 [Path] subgraph path4 [Path]
25["Path<br>[76, 114, 9]"] 4["Path<br>[76, 114, 9]"]
26["Segment<br>[120, 137, 9]"] 10["Segment<br>[120, 137, 9]"]
27["Segment<br>[143, 161, 9]"] 11["Segment<br>[143, 161, 9]"]
28["Segment<br>[167, 185, 9]"] 12["Segment<br>[167, 185, 9]"]
29["Segment<br>[191, 247, 9]"] 13["Segment<br>[191, 247, 9]"]
30["Segment<br>[253, 260, 9]"] 14["Segment<br>[253, 260, 9]"]
31[Solid2d] 16[Solid2d]
end end
1["Plane<br>[47, 66, 8]"] 1["Plane<br>[47, 66, 8]"]
9["Sweep Extrusion<br>[268, 290, 8]"] 2["Plane<br>[47, 66, 9]"]
10[Wall] 17["Sweep Extrusion<br>[268, 290, 8]"]
11[Wall] 18["Sweep Extrusion<br>[266, 288, 9]"]
12[Wall] 19[Wall]
13[Wall] 20[Wall]
14["Cap Start"] 21[Wall]
15["Cap End"] 22[Wall]
16["SweepEdge Opposite"] 23[Wall]
17["SweepEdge Adjacent"] 24[Wall]
18["SweepEdge Opposite"] 25[Wall]
19["SweepEdge Adjacent"] 26[Wall]
20["SweepEdge Opposite"] 27["Cap Start"]
21["SweepEdge Adjacent"] 28["Cap Start"]
22["SweepEdge Opposite"] 29["Cap End"]
23["SweepEdge Adjacent"] 30["Cap End"]
24["Plane<br>[47, 66, 9]"] 31["SweepEdge Opposite"]
32["Sweep Extrusion<br>[266, 288, 9]"] 32["SweepEdge Opposite"]
33[Wall] 33["SweepEdge Opposite"]
34[Wall] 34["SweepEdge Opposite"]
35[Wall] 35["SweepEdge Opposite"]
36[Wall] 36["SweepEdge Opposite"]
37["Cap Start"] 37["SweepEdge Opposite"]
38["Cap End"] 38["SweepEdge Opposite"]
39["SweepEdge Opposite"] 39["SweepEdge Adjacent"]
40["SweepEdge Adjacent"] 40["SweepEdge Adjacent"]
41["SweepEdge Opposite"] 41["SweepEdge Adjacent"]
42["SweepEdge Adjacent"] 42["SweepEdge Adjacent"]
43["SweepEdge Opposite"] 43["SweepEdge Adjacent"]
44["SweepEdge Adjacent"] 44["SweepEdge Adjacent"]
45["SweepEdge Opposite"] 45["SweepEdge Adjacent"]
46["SweepEdge Adjacent"] 46["SweepEdge Adjacent"]
1 --- 2 1 --- 3
2 --- 3
2 --- 4 2 --- 4
2 --- 5 3 --- 5
2 --- 6 3 --- 6
2 --- 7 3 --- 7
2 ---- 9 3 --- 8
2 --- 8 3 --- 9
3 --- 13 3 --- 15
3 --- 22 3 ---- 17
3 --- 23 4 --- 10
3 x--> 14 4 --- 11
4 --- 12 4 --- 12
4 --- 20 4 --- 13
4 --- 21 4 --- 14
4 x--> 14 4 --- 16
5 --- 11 4 ---- 18
5 --- 18 5 --- 24
5 --- 19 5 x--> 28
5 x--> 14 5 --- 37
6 --- 10 5 --- 46
6 --- 16 6 --- 25
6 --- 17 6 x--> 28
6 x--> 14 6 --- 35
9 --- 10 6 --- 45
9 --- 11 7 --- 26
9 --- 12 7 x--> 28
9 --- 13 7 --- 36
9 --- 14 7 --- 44
9 --- 15 8 --- 23
9 --- 16 8 x--> 28
9 --- 17 8 --- 38
9 --- 18 8 --- 43
9 --- 19 10 --- 19
9 --- 20 10 x--> 27
9 --- 21 10 --- 31
9 --- 22 10 --- 39
9 --- 23 11 --- 22
16 <--x 10 11 x--> 27
16 <--x 15 11 --- 34
17 <--x 10 11 --- 41
17 <--x 13 12 --- 21
18 <--x 11 12 x--> 27
18 <--x 15 12 --- 32
19 <--x 10 12 --- 42
19 <--x 11 13 --- 20
20 <--x 12 13 x--> 27
20 <--x 15 13 --- 33
21 <--x 11 13 --- 40
21 <--x 12 17 --- 23
22 <--x 13 17 --- 24
22 <--x 15 17 --- 25
23 <--x 12 17 --- 26
23 <--x 13 17 --- 28
24 --- 25 17 --- 30
25 --- 26 17 --- 35
25 --- 27 17 --- 36
25 --- 28 17 --- 37
25 --- 29 17 --- 38
25 --- 30 17 --- 43
25 ---- 32 17 --- 44
25 --- 31 17 --- 45
26 --- 36 17 --- 46
26 --- 45 18 --- 19
26 --- 46 18 --- 20
26 x--> 37 18 --- 21
27 --- 35 18 --- 22
27 --- 43 18 --- 27
27 --- 44 18 --- 29
27 x--> 37 18 --- 31
28 --- 34 18 --- 32
28 --- 41 18 --- 33
28 --- 42 18 --- 34
28 x--> 37 18 --- 39
29 --- 33 18 --- 40
29 --- 39 18 --- 41
29 --- 40 18 --- 42
29 x--> 37 31 <--x 19
32 --- 33 39 <--x 19
32 --- 34 40 <--x 19
32 --- 35 33 <--x 20
32 --- 36 40 <--x 20
32 --- 37 42 <--x 20
32 --- 38 32 <--x 21
32 --- 39 41 <--x 21
32 --- 40 42 <--x 21
32 --- 41 34 <--x 22
32 --- 42 39 <--x 22
32 --- 43 41 <--x 22
32 --- 44 38 <--x 23
32 --- 45 43 <--x 23
32 --- 46 44 <--x 23
39 <--x 33 37 <--x 24
39 <--x 38 43 <--x 24
40 <--x 33 46 <--x 24
40 <--x 36 35 <--x 25
41 <--x 34 45 <--x 25
41 <--x 38 46 <--x 25
42 <--x 33 36 <--x 26
42 <--x 34 44 <--x 26
43 <--x 35 45 <--x 26
43 <--x 38 31 <--x 29
44 <--x 34 32 <--x 29
44 <--x 35 33 <--x 29
45 <--x 36 34 <--x 29
45 <--x 38 35 <--x 30
46 <--x 35 36 <--x 30
46 <--x 36 37 <--x 30
38 <--x 30
``` ```

View File

@ -12,56 +12,6 @@ description: Operations executed assembly_mixed_units_cubes.kcl
}, },
"sourceRange": [] "sourceRange": []
}, },
{
"labeledArgs": {
"planeOrSolid": {
"value": {
"type": "String",
"value": "XY"
},
"sourceRange": []
}
},
"name": "startSketchOn",
"sourceRange": [],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"labeledArgs": {
"length": {
"value": {
"type": "Number",
"value": 5.0,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"sourceRange": []
}
},
"name": "extrude",
"sourceRange": [],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": []
}
},
{
"type": "GroupEnd"
},
{ {
"type": "GroupBegin", "type": "GroupBegin",
"group": { "group": {
@ -72,51 +22,7 @@ description: Operations executed assembly_mixed_units_cubes.kcl
"sourceRange": [] "sourceRange": []
}, },
{ {
"labeledArgs": { "type": "GroupEnd"
"planeOrSolid": {
"value": {
"type": "String",
"value": "XY"
},
"sourceRange": []
}
},
"name": "startSketchOn",
"sourceRange": [],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"labeledArgs": {
"length": {
"value": {
"type": "Number",
"value": 5.0,
"ty": {
"type": "Default",
"len": {
"type": "Mm"
},
"angle": {
"type": "Degrees"
}
}
},
"sourceRange": []
}
},
"name": "extrude",
"sourceRange": [],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": []
}
}, },
{ {
"type": "GroupEnd" "type": "GroupEnd"

View File

@ -54,6 +54,14 @@ description: Artifact commands assembly_non_default_units.kcl
"hide": true "hide": true
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "close_path",
"path_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -70,33 +78,6 @@ description: Artifact commands assembly_non_default_units.kcl
} }
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "move_path_pen",
"path": "[uuid]",
"to": {
"x": 25.4,
"y": 0.0,
"z": 0.0
}
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "sketch_mode_disable"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -126,8 +107,27 @@ description: Artifact commands assembly_non_default_units.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "close_path", "type": "move_path_pen",
"path_id": "[uuid]" "path": "[uuid]",
"to": {
"x": 25.4,
"y": 0.0,
"z": 0.0
}
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "sketch_mode_disable"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
} }
}, },
{ {
@ -155,6 +155,14 @@ description: Artifact commands assembly_non_default_units.kcl
"hide": true "hide": true
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "close_path",
"path_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -171,33 +179,6 @@ description: Artifact commands assembly_non_default_units.kcl
} }
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "move_path_pen",
"path": "[uuid]",
"to": {
"x": 25.4,
"y": 50.8,
"z": 0.0
}
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "sketch_mode_disable"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -227,8 +208,27 @@ description: Artifact commands assembly_non_default_units.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "close_path", "type": "move_path_pen",
"path_id": "[uuid]" "path": "[uuid]",
"to": {
"x": 25.4,
"y": 50.8,
"z": 0.0
}
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "sketch_mode_disable"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
} }
} }
] ]

View File

@ -1,21 +1,21 @@
```mermaid ```mermaid
flowchart LR flowchart LR
subgraph path2 [Path] subgraph path3 [Path]
2["Path<br>[197, 232, 8]"] 3["Path<br>[197, 232, 8]"]
3["Segment<br>[197, 232, 8]"] 5["Segment<br>[197, 232, 8]"]
4[Solid2d] 7[Solid2d]
end end
subgraph path6 [Path] subgraph path4 [Path]
6["Path<br>[113, 148, 9]"] 4["Path<br>[113, 148, 10]"]
7["Segment<br>[113, 148, 9]"] 6["Segment<br>[113, 148, 10]"]
8[Solid2d] 8[Solid2d]
end end
1["Plane<br>[172, 191, 8]"] 1["Plane<br>[172, 191, 8]"]
5["Plane<br>[88, 107, 9]"] 2["Plane<br>[88, 107, 10]"]
1 --- 2 1 --- 3
2 --- 3
2 --- 4 2 --- 4
5 --- 6 3 --- 5
6 --- 7 3 --- 7
6 --- 8 4 --- 6
4 --- 8
``` ```

View File

@ -12,24 +12,6 @@ description: Operations executed assembly_non_default_units.kcl
}, },
"sourceRange": [] "sourceRange": []
}, },
{
"labeledArgs": {
"planeOrSolid": {
"value": {
"type": "String",
"value": "XZ"
},
"sourceRange": []
}
},
"name": "startSketchOn",
"sourceRange": [],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"type": "GroupEnd"
},
{ {
"type": "GroupBegin", "type": "GroupBegin",
"group": { "group": {
@ -40,19 +22,7 @@ description: Operations executed assembly_non_default_units.kcl
"sourceRange": [] "sourceRange": []
}, },
{ {
"labeledArgs": { "type": "GroupEnd"
"planeOrSolid": {
"value": {
"type": "String",
"value": "XZ"
},
"sourceRange": []
}
},
"name": "startSketchOn",
"sourceRange": [],
"type": "StdLibCall",
"unlabeledArg": null
}, },
{ {
"type": "GroupEnd" "type": "GroupEnd"

View File

@ -9,6 +9,6 @@ description: Variables in memory after executing assembly_non_default_units.kcl
}, },
"other2": { "other2": {
"type": "Module", "type": "Module",
"value": 9 "value": 10
} }
} }

View File

@ -70,13 +70,6 @@ description: Artifact commands basic_fillet_cube_close_opposite.kcl
} }
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -97,6 +90,13 @@ description: Artifact commands basic_fillet_cube_close_opposite.kcl
"type": "sketch_mode_disable" "type": "sketch_mode_disable"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -183,6 +183,14 @@ description: Artifact commands basic_fillet_cube_close_opposite.kcl
"opposite": "None" "opposite": "None"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -194,8 +202,108 @@ description: Artifact commands basic_fillet_cube_close_opposite.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "object_bring_to_front", "type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]" "object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
} }
}, },
{ {
@ -211,30 +319,12 @@ description: Artifact commands basic_fillet_cube_close_opposite.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -249,39 +339,12 @@ description: Artifact commands basic_fillet_cube_close_opposite.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -296,18 +359,10 @@ description: Artifact commands basic_fillet_cube_close_opposite.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]" "edge_id": "[uuid]",
} "face_id": "[uuid]"
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
} }
}, },
{ {
@ -320,43 +375,6 @@ description: Artifact commands basic_fillet_cube_close_opposite.kcl
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -367,34 +385,6 @@ description: Artifact commands basic_fillet_cube_close_opposite.kcl
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -428,5 +418,15 @@ description: Artifact commands basic_fillet_cube_close_opposite.kcl
"tolerance": 0.0000001, "tolerance": 0.0000001,
"cut_type": "fillet" "cut_type": "fillet"
} }
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
} }
] ]

View File

@ -17,12 +17,12 @@ flowchart LR
13["Cap Start"] 13["Cap Start"]
14["Cap End"] 14["Cap End"]
15["SweepEdge Opposite"] 15["SweepEdge Opposite"]
16["SweepEdge Adjacent"] 16["SweepEdge Opposite"]
17["SweepEdge Opposite"] 17["SweepEdge Opposite"]
18["SweepEdge Adjacent"] 18["SweepEdge Opposite"]
19["SweepEdge Opposite"] 19["SweepEdge Adjacent"]
20["SweepEdge Adjacent"] 20["SweepEdge Adjacent"]
21["SweepEdge Opposite"] 21["SweepEdge Adjacent"]
22["SweepEdge Adjacent"] 22["SweepEdge Adjacent"]
23["EdgeCut Fillet<br>[223, 283, 0]"] 23["EdgeCut Fillet<br>[223, 283, 0]"]
24["EdgeCut Fillet<br>[223, 283, 0]"] 24["EdgeCut Fillet<br>[223, 283, 0]"]
@ -31,25 +31,25 @@ flowchart LR
2 --- 4 2 --- 4
2 --- 5 2 --- 5
2 --- 6 2 --- 6
2 ---- 8
2 --- 7 2 --- 7
2 ---- 8
3 --- 12 3 --- 12
3 --- 21
3 --- 22
3 x--> 13 3 x--> 13
4 --- 11 3 --- 16
4 --- 19 3 --- 20
4 --- 20 4 --- 10
4 x--> 13 4 x--> 13
5 --- 10 4 --- 17
5 --- 17 4 --- 21
5 --- 18 5 --- 9
5 x--> 13 5 x--> 13
6 --- 9 5 --- 15
6 --- 15 5 --- 22
6 --- 16 6 --- 11
6 --- 23
6 x--> 13 6 x--> 13
6 --- 18
6 --- 19
6 --- 23
8 --- 9 8 --- 9
8 --- 10 8 --- 10
8 --- 11 8 --- 11
@ -64,19 +64,19 @@ flowchart LR
8 --- 20 8 --- 20
8 --- 21 8 --- 21
8 --- 22 8 --- 22
16 <--x 9 15 <--x 9
16 <--x 12 21 <--x 9
22 <--x 9
17 <--x 10 17 <--x 10
17 <--x 14
18 <--x 9
18 <--x 10
19 <--x 11
19 <--x 14
20 <--x 10 20 <--x 10
20 <--x 11 21 <--x 10
21 <--x 12 19 <--x 11
21 <--x 14
22 <--x 11 22 <--x 11
22 <--x 12 16 <--x 12
15 <--x 24 19 <--x 12
20 <--x 12
15 <--x 14
16 <--x 14
17 <--x 14
18 <--x 24
``` ```

View File

@ -70,13 +70,6 @@ description: Artifact commands basic_fillet_cube_end.kcl
} }
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -97,6 +90,13 @@ description: Artifact commands basic_fillet_cube_end.kcl
"type": "sketch_mode_disable" "type": "sketch_mode_disable"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -183,6 +183,14 @@ description: Artifact commands basic_fillet_cube_end.kcl
"opposite": "None" "opposite": "None"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -194,8 +202,108 @@ description: Artifact commands basic_fillet_cube_end.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "object_bring_to_front", "type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]" "object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
} }
}, },
{ {
@ -211,30 +319,12 @@ description: Artifact commands basic_fillet_cube_end.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -249,39 +339,12 @@ description: Artifact commands basic_fillet_cube_end.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -296,18 +359,10 @@ description: Artifact commands basic_fillet_cube_end.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]" "edge_id": "[uuid]",
} "face_id": "[uuid]"
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
} }
}, },
{ {
@ -320,43 +375,6 @@ description: Artifact commands basic_fillet_cube_end.kcl
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -367,34 +385,6 @@ description: Artifact commands basic_fillet_cube_end.kcl
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -428,5 +418,15 @@ description: Artifact commands basic_fillet_cube_end.kcl
"tolerance": 0.0000001, "tolerance": 0.0000001,
"cut_type": "fillet" "cut_type": "fillet"
} }
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
} }
] ]

View File

@ -17,12 +17,12 @@ flowchart LR
13["Cap Start"] 13["Cap Start"]
14["Cap End"] 14["Cap End"]
15["SweepEdge Opposite"] 15["SweepEdge Opposite"]
16["SweepEdge Adjacent"] 16["SweepEdge Opposite"]
17["SweepEdge Opposite"] 17["SweepEdge Opposite"]
18["SweepEdge Adjacent"] 18["SweepEdge Opposite"]
19["SweepEdge Opposite"] 19["SweepEdge Adjacent"]
20["SweepEdge Adjacent"] 20["SweepEdge Adjacent"]
21["SweepEdge Opposite"] 21["SweepEdge Adjacent"]
22["SweepEdge Adjacent"] 22["SweepEdge Adjacent"]
23["EdgeCut Fillet<br>[211, 269, 0]"] 23["EdgeCut Fillet<br>[211, 269, 0]"]
24["EdgeCut Fillet<br>[211, 269, 0]"] 24["EdgeCut Fillet<br>[211, 269, 0]"]
@ -31,25 +31,25 @@ flowchart LR
2 --- 4 2 --- 4
2 --- 5 2 --- 5
2 --- 6 2 --- 6
2 ---- 8
2 --- 7 2 --- 7
2 ---- 8
3 --- 12 3 --- 12
3 --- 21
3 --- 22
3 --- 23
3 x--> 13 3 x--> 13
4 --- 11 3 --- 18
4 --- 19 3 --- 20
4 --- 20 3 --- 23
4 --- 10
4 x--> 13 4 x--> 13
5 --- 10 4 --- 17
5 --- 17 4 --- 21
5 --- 18 5 --- 9
5 x--> 13 5 x--> 13
6 --- 9 5 --- 15
6 --- 15 5 --- 22
6 --- 16 6 --- 11
6 x--> 13 6 x--> 13
6 --- 16
6 --- 19
8 --- 9 8 --- 9
8 --- 10 8 --- 10
8 --- 11 8 --- 11
@ -65,18 +65,18 @@ flowchart LR
8 --- 21 8 --- 21
8 --- 22 8 --- 22
15 <--x 9 15 <--x 9
15 <--x 14 21 <--x 9
16 <--x 9 22 <--x 9
16 <--x 12
17 <--x 10 17 <--x 10
17 <--x 14
18 <--x 9
18 <--x 10
19 <--x 11
19 <--x 14
20 <--x 10 20 <--x 10
20 <--x 11 21 <--x 10
16 <--x 11
19 <--x 11
22 <--x 11 22 <--x 11
22 <--x 12 19 <--x 12
21 <--x 24 20 <--x 12
15 <--x 14
16 <--x 14
17 <--x 14
18 <--x 24
``` ```

View File

@ -70,13 +70,6 @@ description: Artifact commands basic_fillet_cube_next_adjacent.kcl
} }
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -97,6 +90,13 @@ description: Artifact commands basic_fillet_cube_next_adjacent.kcl
"type": "sketch_mode_disable" "type": "sketch_mode_disable"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -183,6 +183,14 @@ description: Artifact commands basic_fillet_cube_next_adjacent.kcl
"opposite": "None" "opposite": "None"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -194,8 +202,108 @@ description: Artifact commands basic_fillet_cube_next_adjacent.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "object_bring_to_front", "type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]" "object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
} }
}, },
{ {
@ -211,9 +319,40 @@ description: Artifact commands basic_fillet_cube_next_adjacent.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]" "edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]",
"face_id": "[uuid]"
} }
}, },
{ {
@ -230,39 +369,12 @@ description: Artifact commands basic_fillet_cube_next_adjacent.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -273,43 +385,6 @@ description: Artifact commands basic_fillet_cube_next_adjacent.kcl
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -320,91 +395,6 @@ description: Artifact commands basic_fillet_cube_next_adjacent.kcl
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -416,5 +406,15 @@ description: Artifact commands basic_fillet_cube_next_adjacent.kcl
"tolerance": 0.0000001, "tolerance": 0.0000001,
"cut_type": "fillet" "cut_type": "fillet"
} }
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
} }
] ]

View File

@ -17,12 +17,12 @@ flowchart LR
13["Cap Start"] 13["Cap Start"]
14["Cap End"] 14["Cap End"]
15["SweepEdge Opposite"] 15["SweepEdge Opposite"]
16["SweepEdge Adjacent"] 16["SweepEdge Opposite"]
17["SweepEdge Opposite"] 17["SweepEdge Opposite"]
18["SweepEdge Adjacent"] 18["SweepEdge Opposite"]
19["SweepEdge Opposite"] 19["SweepEdge Adjacent"]
20["SweepEdge Adjacent"] 20["SweepEdge Adjacent"]
21["SweepEdge Opposite"] 21["SweepEdge Adjacent"]
22["SweepEdge Adjacent"] 22["SweepEdge Adjacent"]
23["EdgeCut Fillet<br>[238, 294, 0]"] 23["EdgeCut Fillet<br>[238, 294, 0]"]
1 --- 2 1 --- 2
@ -30,24 +30,24 @@ flowchart LR
2 --- 4 2 --- 4
2 --- 5 2 --- 5
2 --- 6 2 --- 6
2 ---- 8
2 --- 7 2 --- 7
2 ---- 8
3 --- 12 3 --- 12
3 --- 21
3 --- 22
3 x--> 13 3 x--> 13
4 --- 11 3 --- 17
4 --- 19 3 --- 19
4 --- 20 4 --- 10
4 x--> 13 4 x--> 13
5 --- 10 4 --- 18
5 --- 17 4 --- 20
5 --- 18 5 --- 9
5 x--> 13 5 x--> 13
6 --- 9 5 --- 15
6 --- 15 5 --- 22
6 --- 16 6 --- 11
6 x--> 13 6 x--> 13
6 --- 16
6 --- 21
8 --- 9 8 --- 9
8 --- 10 8 --- 10
8 --- 11 8 --- 11
@ -63,18 +63,18 @@ flowchart LR
8 --- 21 8 --- 21
8 --- 22 8 --- 22
15 <--x 9 15 <--x 9
15 <--x 14 20 <--x 9
17 <--x 10 22 <--x 9
17 <--x 14
18 <--x 9
18 <--x 10 18 <--x 10
19 <--x 11 19 <--x 10
19 <--x 14
20 <--x 10 20 <--x 10
20 <--x 11 16 <--x 11
21 <--x 12
21 <--x 14
22 <--x 11 22 <--x 11
22 <--x 12 17 <--x 12
16 <--x 23 19 <--x 12
15 <--x 14
16 <--x 14
17 <--x 14
18 <--x 14
21 <--x 23
``` ```

View File

@ -70,13 +70,6 @@ description: Artifact commands basic_fillet_cube_previous_adjacent.kcl
} }
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -97,6 +90,13 @@ description: Artifact commands basic_fillet_cube_previous_adjacent.kcl
"type": "sketch_mode_disable" "type": "sketch_mode_disable"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -183,6 +183,14 @@ description: Artifact commands basic_fillet_cube_previous_adjacent.kcl
"opposite": "None" "opposite": "None"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -194,8 +202,108 @@ description: Artifact commands basic_fillet_cube_previous_adjacent.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "object_bring_to_front", "type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]" "object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
} }
}, },
{ {
@ -211,30 +319,12 @@ description: Artifact commands basic_fillet_cube_previous_adjacent.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -249,39 +339,12 @@ description: Artifact commands basic_fillet_cube_previous_adjacent.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -296,18 +359,10 @@ description: Artifact commands basic_fillet_cube_previous_adjacent.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]" "edge_id": "[uuid]",
} "face_id": "[uuid]"
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
} }
}, },
{ {
@ -320,43 +375,6 @@ description: Artifact commands basic_fillet_cube_previous_adjacent.kcl
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -371,35 +389,7 @@ description: Artifact commands basic_fillet_cube_previous_adjacent.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_prev_adjacent_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
@ -416,5 +406,15 @@ description: Artifact commands basic_fillet_cube_previous_adjacent.kcl
"tolerance": 0.0000001, "tolerance": 0.0000001,
"cut_type": "fillet" "cut_type": "fillet"
} }
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_prev_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
} }
] ]

View File

@ -17,12 +17,12 @@ flowchart LR
13["Cap Start"] 13["Cap Start"]
14["Cap End"] 14["Cap End"]
15["SweepEdge Opposite"] 15["SweepEdge Opposite"]
16["SweepEdge Adjacent"] 16["SweepEdge Opposite"]
17["SweepEdge Opposite"] 17["SweepEdge Opposite"]
18["SweepEdge Adjacent"] 18["SweepEdge Opposite"]
19["SweepEdge Opposite"] 19["SweepEdge Adjacent"]
20["SweepEdge Adjacent"] 20["SweepEdge Adjacent"]
21["SweepEdge Opposite"] 21["SweepEdge Adjacent"]
22["SweepEdge Adjacent"] 22["SweepEdge Adjacent"]
23["EdgeCut Fillet<br>[238, 298, 0]"] 23["EdgeCut Fillet<br>[238, 298, 0]"]
1 --- 2 1 --- 2
@ -30,24 +30,24 @@ flowchart LR
2 --- 4 2 --- 4
2 --- 5 2 --- 5
2 --- 6 2 --- 6
2 ---- 8
2 --- 7 2 --- 7
2 ---- 8
3 --- 12 3 --- 12
3 --- 21
3 --- 22
3 x--> 13 3 x--> 13
4 --- 11 3 --- 17
4 --- 19 3 --- 20
4 --- 20 4 --- 10
4 x--> 13 4 x--> 13
5 --- 10 4 --- 18
5 --- 17 4 --- 21
5 --- 18 5 --- 9
5 x--> 13 5 x--> 13
6 --- 9 5 --- 15
6 --- 15 5 --- 22
6 --- 16 6 --- 11
6 x--> 13 6 x--> 13
6 --- 16
6 --- 19
8 --- 9 8 --- 9
8 --- 10 8 --- 10
8 --- 11 8 --- 11
@ -63,20 +63,20 @@ flowchart LR
8 --- 21 8 --- 21
8 --- 22 8 --- 22
15 <--x 9 15 <--x 9
15 <--x 14 21 <--x 9
16 <--x 9 22 <--x 9
16 <--x 12
17 <--x 10
17 <--x 14
18 <--x 9
18 <--x 10 18 <--x 10
19 <--x 11
19 <--x 14
20 <--x 10 20 <--x 10
20 <--x 11 21 <--x 10
21 <--x 12 16 <--x 11
21 <--x 14 19 <--x 11
22 <--x 11 22 <--x 11
22 <--x 12 17 <--x 12
18 <--x 23 19 <--x 12
20 <--x 12
15 <--x 14
16 <--x 14
17 <--x 14
18 <--x 14
22 <--x 23
``` ```

View File

@ -70,13 +70,6 @@ description: Artifact commands basic_fillet_cube_start.kcl
} }
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -97,6 +90,13 @@ description: Artifact commands basic_fillet_cube_start.kcl
"type": "sketch_mode_disable" "type": "sketch_mode_disable"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -183,6 +183,14 @@ description: Artifact commands basic_fillet_cube_start.kcl
"opposite": "None" "opposite": "None"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -194,8 +202,108 @@ description: Artifact commands basic_fillet_cube_start.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "object_bring_to_front", "type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]" "object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
} }
}, },
{ {
@ -211,30 +319,12 @@ description: Artifact commands basic_fillet_cube_start.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -249,39 +339,12 @@ description: Artifact commands basic_fillet_cube_start.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -296,18 +359,10 @@ description: Artifact commands basic_fillet_cube_start.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]" "edge_id": "[uuid]",
} "face_id": "[uuid]"
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
} }
}, },
{ {
@ -320,43 +375,6 @@ description: Artifact commands basic_fillet_cube_start.kcl
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -371,30 +389,12 @@ description: Artifact commands basic_fillet_cube_start.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],

View File

@ -17,12 +17,12 @@ flowchart LR
13["Cap Start"] 13["Cap Start"]
14["Cap End"] 14["Cap End"]
15["SweepEdge Opposite"] 15["SweepEdge Opposite"]
16["SweepEdge Adjacent"] 16["SweepEdge Opposite"]
17["SweepEdge Opposite"] 17["SweepEdge Opposite"]
18["SweepEdge Adjacent"] 18["SweepEdge Opposite"]
19["SweepEdge Opposite"] 19["SweepEdge Adjacent"]
20["SweepEdge Adjacent"] 20["SweepEdge Adjacent"]
21["SweepEdge Opposite"] 21["SweepEdge Adjacent"]
22["SweepEdge Adjacent"] 22["SweepEdge Adjacent"]
23["EdgeCut Fillet<br>[211, 253, 0]"] 23["EdgeCut Fillet<br>[211, 253, 0]"]
24["EdgeCut Fillet<br>[211, 253, 0]"] 24["EdgeCut Fillet<br>[211, 253, 0]"]
@ -31,26 +31,26 @@ flowchart LR
2 --- 4 2 --- 4
2 --- 5 2 --- 5
2 --- 6 2 --- 6
2 ---- 8
2 --- 7 2 --- 7
2 ---- 8
3 --- 12 3 --- 12
3 --- 21
3 --- 22
3 --- 23
3 x--> 13 3 x--> 13
4 --- 11 3 --- 17
4 --- 19 3 --- 20
4 --- 20 3 --- 23
4 --- 10
4 x--> 13 4 x--> 13
5 --- 10 4 --- 18
5 --- 17 4 --- 21
5 --- 18 5 --- 9
5 --- 24
5 x--> 13 5 x--> 13
6 --- 9 5 --- 15
6 --- 15 5 --- 22
6 --- 16 5 --- 24
6 --- 11
6 x--> 13 6 x--> 13
6 --- 16
6 --- 19
8 --- 9 8 --- 9
8 --- 10 8 --- 10
8 --- 11 8 --- 11
@ -66,19 +66,19 @@ flowchart LR
8 --- 21 8 --- 21
8 --- 22 8 --- 22
15 <--x 9 15 <--x 9
15 <--x 14 21 <--x 9
16 <--x 9 22 <--x 9
16 <--x 12
17 <--x 10
17 <--x 14
18 <--x 9
18 <--x 10 18 <--x 10
19 <--x 11
19 <--x 14
20 <--x 10 20 <--x 10
20 <--x 11 21 <--x 10
21 <--x 12 16 <--x 11
21 <--x 14 19 <--x 11
22 <--x 11 22 <--x 11
22 <--x 12 17 <--x 12
19 <--x 12
20 <--x 12
15 <--x 14
16 <--x 14
17 <--x 14
18 <--x 14
``` ```

View File

@ -54,6 +54,14 @@ description: Artifact commands circle_three_point.kcl
"hide": true "hide": true
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "close_path",
"path_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -70,33 +78,6 @@ description: Artifact commands circle_three_point.kcl
} }
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "move_path_pen",
"path": "[uuid]",
"to": {
"x": 30.00594901040716,
"y": 19.75,
"z": 0.0
}
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "sketch_mode_disable"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -126,8 +107,27 @@ description: Artifact commands circle_three_point.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "close_path", "type": "move_path_pen",
"path_id": "[uuid]" "path": "[uuid]",
"to": {
"x": 30.00594901040716,
"y": 19.75,
"z": 0.0
}
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "sketch_mode_disable"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
} }
}, },
{ {
@ -157,13 +157,6 @@ description: Artifact commands circle_three_point.kcl
"opposite": "None" "opposite": "None"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "sketch_mode_disable"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -172,6 +165,40 @@ description: Artifact commands circle_three_point.kcl
"object_id": "[uuid]" "object_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "sketch_mode_disable"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -181,34 +208,6 @@ description: Artifact commands circle_three_point.kcl
"edge_id": "[uuid]" "edge_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -223,9 +222,10 @@ description: Artifact commands circle_three_point.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]" "edge_id": "[uuid]",
"face_id": "[uuid]"
} }
} }
] ]

View File

@ -14,18 +14,18 @@ flowchart LR
10["SweepEdge Adjacent"] 10["SweepEdge Adjacent"]
1 --- 2 1 --- 2
2 --- 3 2 --- 3
2 ---- 5
2 --- 4 2 --- 4
2 ---- 5
3 --- 6 3 --- 6
3 x--> 7
3 --- 9 3 --- 9
3 --- 10 3 --- 10
3 x--> 7
5 --- 6 5 --- 6
5 --- 7 5 --- 7
5 --- 8 5 --- 8
5 --- 9 5 --- 9
5 --- 10 5 --- 10
9 <--x 6 9 <--x 6
9 <--x 8
10 <--x 6 10 <--x 6
9 <--x 8
``` ```

View File

@ -70,13 +70,6 @@ description: Artifact commands circular_pattern3d_a_pattern.kcl
} }
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -97,6 +90,13 @@ description: Artifact commands circular_pattern3d_a_pattern.kcl
"type": "sketch_mode_disable" "type": "sketch_mode_disable"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -183,6 +183,14 @@ description: Artifact commands circular_pattern3d_a_pattern.kcl
"opposite": "None" "opposite": "None"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -194,8 +202,108 @@ description: Artifact commands circular_pattern3d_a_pattern.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "object_bring_to_front", "type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]" "object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
} }
}, },
{ {
@ -211,30 +319,12 @@ description: Artifact commands circular_pattern3d_a_pattern.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -249,39 +339,12 @@ description: Artifact commands circular_pattern3d_a_pattern.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -296,18 +359,10 @@ description: Artifact commands circular_pattern3d_a_pattern.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]" "edge_id": "[uuid]",
} "face_id": "[uuid]"
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
} }
}, },
{ {
@ -320,43 +375,6 @@ description: Artifact commands circular_pattern3d_a_pattern.kcl
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -371,30 +389,12 @@ description: Artifact commands circular_pattern3d_a_pattern.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],

View File

@ -17,36 +17,36 @@ flowchart LR
13["Cap Start"] 13["Cap Start"]
14["Cap End"] 14["Cap End"]
15["SweepEdge Opposite"] 15["SweepEdge Opposite"]
16["SweepEdge Adjacent"] 16["SweepEdge Opposite"]
17["SweepEdge Opposite"] 17["SweepEdge Opposite"]
18["SweepEdge Adjacent"] 18["SweepEdge Opposite"]
19["SweepEdge Opposite"] 19["SweepEdge Adjacent"]
20["SweepEdge Adjacent"] 20["SweepEdge Adjacent"]
21["SweepEdge Opposite"] 21["SweepEdge Adjacent"]
22["SweepEdge Adjacent"] 22["SweepEdge Adjacent"]
1 --- 2 1 --- 2
2 --- 3 2 --- 3
2 --- 4 2 --- 4
2 --- 5 2 --- 5
2 --- 6 2 --- 6
2 ---- 8
2 --- 7 2 --- 7
2 ---- 8
3 --- 12 3 --- 12
3 --- 21
3 --- 22
3 x--> 13 3 x--> 13
4 --- 11 3 --- 17
4 --- 19 3 --- 20
4 --- 20 4 --- 10
4 x--> 13 4 x--> 13
5 --- 10 4 --- 18
5 --- 17 4 --- 21
5 --- 18 5 --- 9
5 x--> 13 5 x--> 13
6 --- 9 5 --- 15
6 --- 15 5 --- 22
6 --- 16 6 --- 11
6 x--> 13 6 x--> 13
6 --- 16
6 --- 19
8 --- 9 8 --- 9
8 --- 10 8 --- 10
8 --- 11 8 --- 11
@ -62,19 +62,19 @@ flowchart LR
8 --- 21 8 --- 21
8 --- 22 8 --- 22
15 <--x 9 15 <--x 9
15 <--x 14 21 <--x 9
16 <--x 9 22 <--x 9
16 <--x 12
17 <--x 10
17 <--x 14
18 <--x 9
18 <--x 10 18 <--x 10
19 <--x 11
19 <--x 14
20 <--x 10 20 <--x 10
20 <--x 11 21 <--x 10
21 <--x 12 16 <--x 11
21 <--x 14 19 <--x 11
22 <--x 11 22 <--x 11
22 <--x 12 17 <--x 12
19 <--x 12
20 <--x 12
15 <--x 14
16 <--x 14
17 <--x 14
18 <--x 14
``` ```

File diff suppressed because it is too large Load Diff

View File

@ -1,349 +1,349 @@
```mermaid ```mermaid
flowchart LR flowchart LR
subgraph path2 [Path] subgraph path4 [Path]
2["Path<br>[43, 86, 0]"] 4["Path<br>[43, 86, 0]"]
3["Segment<br>[92, 130, 0]"] 15["Segment<br>[92, 130, 0]"]
4["Segment<br>[136, 175, 0]"] 16["Segment<br>[136, 175, 0]"]
5["Segment<br>[181, 237, 0]"] 17["Segment<br>[181, 237, 0]"]
6["Segment<br>[243, 250, 0]"] 18["Segment<br>[243, 250, 0]"]
7[Solid2d] 55[Solid2d]
end end
subgraph path20 [Path] subgraph path5 [Path]
20["Path<br>[362, 405, 0]"] 5["Path<br>[362, 405, 0]"]
21["Segment<br>[411, 435, 0]"] 19["Segment<br>[411, 435, 0]"]
22["Segment<br>[441, 466, 0]"] 20["Segment<br>[441, 466, 0]"]
end end
subgraph path23 [Path] subgraph path6 [Path]
23["Path<br>[480, 522, 0]"] 6["Path<br>[480, 522, 0]"]
24["Segment<br>[528, 593, 0]"] 21["Segment<br>[528, 593, 0]"]
25["Segment<br>[599, 667, 0]"] 22["Segment<br>[599, 667, 0]"]
26["Segment<br>[673, 761, 0]"] 23["Segment<br>[673, 761, 0]"]
27["Segment<br>[767, 823, 0]"] 24["Segment<br>[767, 823, 0]"]
28["Segment<br>[829, 836, 0]"] 25["Segment<br>[829, 836, 0]"]
29[Solid2d] 56[Solid2d]
end end
subgraph path30 [Path] subgraph path7 [Path]
30["Path<br>[850, 892, 0]"] 7["Path<br>[850, 892, 0]"]
31["Segment<br>[898, 918, 0]"] 26["Segment<br>[898, 918, 0]"]
32["Segment<br>[924, 950, 0]"] 27["Segment<br>[924, 950, 0]"]
33["Segment<br>[956, 1012, 0]"] 28["Segment<br>[956, 1012, 0]"]
34["Segment<br>[1018, 1025, 0]"] 29["Segment<br>[1018, 1025, 0]"]
35[Solid2d] 52[Solid2d]
end end
subgraph path36 [Path] subgraph path8 [Path]
36["Path<br>[1039, 1094, 0]"] 8["Path<br>[1039, 1094, 0]"]
37["Segment<br>[1039, 1094, 0]"] 30["Segment<br>[1039, 1094, 0]"]
38[Solid2d] 57[Solid2d]
end end
subgraph path39 [Path] subgraph path9 [Path]
39["Path<br>[1108, 1150, 0]"] 9["Path<br>[1108, 1150, 0]"]
40["Segment<br>[1156, 1180, 0]"] 31["Segment<br>[1156, 1180, 0]"]
41["Segment<br>[1186, 1211, 0]"] 32["Segment<br>[1186, 1211, 0]"]
42["Segment<br>[1217, 1273, 0]"] 33["Segment<br>[1217, 1273, 0]"]
43["Segment<br>[1279, 1286, 0]"] 34["Segment<br>[1279, 1286, 0]"]
44[Solid2d] 54[Solid2d]
end end
subgraph path59 [Path] subgraph path10 [Path]
59["Path<br>[1456, 1497, 0]"] 10["Path<br>[1456, 1497, 0]"]
60["Segment<br>[1503, 1527, 0]"] 35["Segment<br>[1503, 1527, 0]"]
61["Segment<br>[1533, 1558, 0]"] 36["Segment<br>[1533, 1558, 0]"]
end end
subgraph path62 [Path] subgraph path11 [Path]
62["Path<br>[1572, 1614, 0]"] 11["Path<br>[1572, 1614, 0]"]
63["Segment<br>[1620, 1644, 0]"] 37["Segment<br>[1620, 1644, 0]"]
64["Segment<br>[1650, 1675, 0]"] 38["Segment<br>[1650, 1675, 0]"]
65["Segment<br>[1681, 1737, 0]"] 39["Segment<br>[1681, 1737, 0]"]
66["Segment<br>[1743, 1750, 0]"] 40["Segment<br>[1743, 1750, 0]"]
67[Solid2d] 51[Solid2d]
end end
subgraph path68 [Path] subgraph path12 [Path]
68["Path<br>[1764, 1806, 0]"] 12["Path<br>[1764, 1806, 0]"]
69["Segment<br>[1812, 1835, 0]"] 41["Segment<br>[1812, 1835, 0]"]
70["Segment<br>[1841, 1866, 0]"] 42["Segment<br>[1841, 1866, 0]"]
71["Segment<br>[1872, 1928, 0]"] 43["Segment<br>[1872, 1928, 0]"]
72["Segment<br>[1934, 1941, 0]"] 44["Segment<br>[1934, 1941, 0]"]
73[Solid2d] 53[Solid2d]
end end
subgraph path74 [Path] subgraph path13 [Path]
74["Path<br>[1955, 2011, 0]"] 13["Path<br>[1955, 2011, 0]"]
75["Segment<br>[1955, 2011, 0]"] 45["Segment<br>[1955, 2011, 0]"]
76[Solid2d] 59[Solid2d]
end end
subgraph path77 [Path] subgraph path14 [Path]
77["Path<br>[2025, 2068, 0]"] 14["Path<br>[2025, 2068, 0]"]
78["Segment<br>[2074, 2139, 0]"] 46["Segment<br>[2074, 2139, 0]"]
79["Segment<br>[2145, 2213, 0]"] 47["Segment<br>[2145, 2213, 0]"]
80["Segment<br>[2219, 2307, 0]"] 48["Segment<br>[2219, 2307, 0]"]
81["Segment<br>[2313, 2369, 0]"] 49["Segment<br>[2313, 2369, 0]"]
82["Segment<br>[2375, 2382, 0]"] 50["Segment<br>[2375, 2382, 0]"]
83[Solid2d] 58[Solid2d]
end end
1["Plane<br>[12, 29, 0]"] 1["Plane<br>[12, 29, 0]"]
8["Sweep Extrusion<br>[264, 296, 0]"] 2["Plane<br>[1424, 1442, 0]"]
9[Wall] 3["StartSketchOnFace<br>[309, 348, 0]"]
10[Wall] 60["Sweep Extrusion<br>[264, 296, 0]"]
11[Wall] 61["Sweep RevolveAboutEdge<br>[1300, 1366, 0]"]
12["Cap Start"] 62["Sweep Extrusion<br>[1380, 1411, 0]"]
13["Cap End"] 63["Sweep Extrusion<br>[2396, 2429, 0]"]
14["SweepEdge Opposite"] 64["Sweep RevolveAboutEdge<br>[2443, 2488, 0]"]
15["SweepEdge Adjacent"] 65[Wall]
16["SweepEdge Opposite"] 66[Wall]
17["SweepEdge Adjacent"] 67[Wall]
18["SweepEdge Opposite"] 68[Wall]
19["SweepEdge Adjacent"] 69[Wall]
45["Sweep RevolveAboutEdge<br>[1300, 1366, 0]"] 70[Wall]
46["Sweep Extrusion<br>[1380, 1411, 0]"] 71[Wall]
47[Wall] 72[Wall]
48[Wall] 73[Wall]
49[Wall] 74[Wall]
50["Cap Start"] 75[Wall]
51["Cap End"] 76[Wall]
52["SweepEdge Opposite"] 77[Wall]
53["SweepEdge Adjacent"] 78["Cap Start"]
54["SweepEdge Opposite"] 79["Cap Start"]
55["SweepEdge Adjacent"] 80["Cap Start"]
56["SweepEdge Opposite"] 81["Cap Start"]
57["SweepEdge Adjacent"] 82["Cap End"]
58["Plane<br>[1424, 1442, 0]"] 83["Cap End"]
84["Sweep Extrusion<br>[2396, 2429, 0]"] 84["Cap End"]
85[Wall] 85["Cap End"]
86[Wall] 86["SweepEdge Opposite"]
87[Wall] 87["SweepEdge Opposite"]
88[Wall] 88["SweepEdge Opposite"]
89["Cap Start"] 89["SweepEdge Opposite"]
90["Cap End"] 90["SweepEdge Opposite"]
91["SweepEdge Opposite"] 91["SweepEdge Opposite"]
92["SweepEdge Adjacent"] 92["SweepEdge Opposite"]
93["SweepEdge Opposite"] 93["SweepEdge Opposite"]
94["SweepEdge Adjacent"] 94["SweepEdge Opposite"]
95["SweepEdge Opposite"] 95["SweepEdge Opposite"]
96["SweepEdge Adjacent"] 96["SweepEdge Opposite"]
97["SweepEdge Opposite"] 97["SweepEdge Opposite"]
98["SweepEdge Adjacent"] 98["SweepEdge Opposite"]
99["Sweep RevolveAboutEdge<br>[2443, 2488, 0]"] 99["SweepEdge Adjacent"]
100[Wall] 100["SweepEdge Adjacent"]
101[Wall] 101["SweepEdge Adjacent"]
102[Wall] 102["SweepEdge Adjacent"]
103["Cap Start"] 103["SweepEdge Adjacent"]
104["Cap End"] 104["SweepEdge Adjacent"]
105["SweepEdge Opposite"] 105["SweepEdge Adjacent"]
106["SweepEdge Adjacent"] 106["SweepEdge Adjacent"]
107["SweepEdge Opposite"] 107["SweepEdge Adjacent"]
108["SweepEdge Adjacent"] 108["SweepEdge Adjacent"]
109["SweepEdge Opposite"] 109["SweepEdge Adjacent"]
110["SweepEdge Adjacent"] 110["SweepEdge Adjacent"]
111["StartSketchOnFace<br>[309, 348, 0]"] 111["SweepEdge Adjacent"]
1 --- 2 1 --- 4
2 --- 3 2 --- 10
2 --- 4 2 --- 11
2 --- 5 2 --- 12
2 --- 6 2 --- 13
2 ---- 8 2 --- 14
2 --- 7 70 x--> 3
3 --- 11 4 --- 15
3 --- 18
3 --- 19
3 x--> 12
4 --- 10
4 --- 16 4 --- 16
4 --- 17 4 --- 17
4 x--> 12 4 --- 18
5 --- 9 4 --- 55
5 --- 14 4 ---- 60
5 --- 15 5 --- 19
5 x--> 12 5 --- 20
8 --- 9 70 --- 5
8 --- 10 6 --- 21
8 --- 11 6 --- 22
8 --- 12 6 --- 23
8 --- 13 6 --- 24
8 --- 14 6 --- 25
8 --- 15 6 --- 56
8 --- 16 70 --- 6
8 --- 17 7 --- 26
8 --- 18 7 --- 27
8 --- 19 7 --- 28
10 --- 20 7 --- 29
10 --- 23 7 --- 52
10 --- 30 7 ---- 61
70 --- 7
8 --- 30
8 --- 57
70 --- 8
9 --- 31
9 --- 32
9 --- 33
9 --- 34
9 --- 54
9 ---- 62
70 --- 9
10 --- 35
10 --- 36 10 --- 36
10 --- 39 11 --- 37
14 <--x 9 11 --- 38
14 <--x 13 11 --- 39
15 <--x 9 11 --- 40
15 <--x 11 11 --- 51
16 <--x 10 11 ---- 64
16 <--x 13 12 --- 41
17 <--x 9 12 --- 42
17 <--x 10 12 --- 43
18 <--x 11 12 --- 44
18 <--x 13 12 --- 53
19 <--x 10 13 --- 45
19 <--x 11 13 --- 59
20 --- 21 14 --- 46
20 --- 22 14 --- 47
23 --- 24 14 --- 48
23 --- 25 14 --- 49
23 --- 26 14 --- 50
23 --- 27 14 --- 58
23 --- 28 14 ---- 63
23 --- 29 15 --- 69
30 --- 31 15 x--> 79
30 --- 32 15 --- 89
30 --- 33 15 --- 103
30 --- 34 16 --- 70
30 ---- 45 16 x--> 79
30 --- 35 16 --- 91
36 --- 37 16 --- 104
36 --- 38 17 --- 68
39 --- 40 17 x--> 79
39 --- 41 17 --- 90
39 --- 42 17 --- 102
39 --- 43 31 --- 65
39 ---- 46 31 x--> 78
39 --- 44 31 --- 88
40 --- 49 31 --- 100
40 --- 56 32 --- 67
40 --- 57 32 x--> 78
40 x--> 50 32 --- 86
41 --- 48 32 --- 99
41 --- 54 33 --- 66
41 --- 55 33 x--> 78
41 x--> 50 33 --- 87
42 --- 47 33 --- 101
42 --- 52 37 --- 72
42 --- 53 37 x--> 80
42 x--> 50 37 --- 94
46 --- 47 37 --- 106
46 --- 48 38 --- 73
46 --- 49 38 x--> 80
46 --- 50 38 --- 93
46 --- 51 38 --- 107
46 --- 52 39 --- 71
46 --- 53 39 x--> 80
46 --- 54 39 --- 92
46 --- 55 39 --- 105
46 --- 56 46 --- 75
46 --- 57 46 x--> 81
52 <--x 47 46 --- 95
52 <--x 51 46 --- 108
53 <--x 47 47 --- 76
53 <--x 49 47 x--> 81
54 <--x 48 47 --- 97
54 <--x 51 47 --- 109
55 <--x 47 48 --- 74
55 <--x 48 48 x--> 81
56 <--x 49 48 --- 98
56 <--x 51 48 --- 111
57 <--x 48 49 --- 77
57 <--x 49 49 x--> 81
58 --- 59 49 --- 96
58 --- 62 49 --- 110
58 --- 68 60 --- 68
58 --- 74 60 --- 69
58 --- 77 60 --- 70
59 --- 60 60 --- 79
59 --- 61 60 --- 83
62 --- 63 60 --- 89
62 --- 64 60 --- 90
60 --- 91
60 --- 102
60 --- 103
60 --- 104
62 --- 65 62 --- 65
62 --- 66 62 --- 66
62 ---- 99
62 --- 67 62 --- 67
63 --- 100 62 --- 78
63 --- 105 62 --- 82
63 --- 106 62 --- 86
63 x--> 103 62 --- 87
64 --- 101 62 --- 88
62 --- 99
62 --- 100
62 --- 101
63 --- 74
63 --- 75
63 --- 76
63 --- 77
63 --- 81
63 --- 85
63 --- 95
63 --- 96
63 --- 97
63 --- 98
63 --- 108
63 --- 109
63 --- 110
63 --- 111
64 --- 71
64 --- 72
64 --- 73
64 --- 80
64 --- 84
64 --- 92
64 --- 93
64 --- 94
64 --- 105
64 --- 106
64 --- 107 64 --- 107
64 --- 108 88 <--x 65
64 x--> 103 100 <--x 65
65 --- 102 101 <--x 65
65 --- 109 87 <--x 66
65 --- 110 99 <--x 66
65 x--> 103 101 <--x 66
68 --- 69 86 <--x 67
68 --- 70 99 <--x 67
68 --- 71 100 <--x 67
68 --- 72 90 <--x 68
68 --- 73 102 <--x 68
74 --- 75 104 <--x 68
74 --- 76 89 <--x 69
77 --- 78 102 <--x 69
77 --- 79 103 <--x 69
77 --- 80 91 <--x 70
77 --- 81 103 <--x 70
77 --- 82 104 <--x 70
77 ---- 84 92 <--x 71
77 --- 83 105 <--x 71
78 --- 88 107 <--x 71
78 --- 97 94 <--x 72
78 --- 98 105 <--x 72
78 x--> 89 106 <--x 72
79 --- 87 93 <--x 73
79 --- 95 106 <--x 73
79 --- 96 107 <--x 73
79 x--> 89 98 <--x 74
80 --- 86 109 <--x 74
80 --- 93 111 <--x 74
80 --- 94 95 <--x 75
80 x--> 89 108 <--x 75
81 --- 85 110 <--x 75
81 --- 91 97 <--x 76
81 --- 92 108 <--x 76
81 x--> 89 109 <--x 76
84 --- 85 96 <--x 77
84 --- 86 110 <--x 77
84 --- 87 111 <--x 77
84 --- 88 86 <--x 82
84 --- 89 87 <--x 82
84 --- 90 88 <--x 82
84 --- 91 89 <--x 83
84 --- 92 90 <--x 83
84 --- 93 91 <--x 83
84 --- 94 92 <--x 84
84 --- 95 93 <--x 84
84 --- 96 94 <--x 84
84 --- 97 95 <--x 85
84 --- 98 96 <--x 85
91 <--x 85 97 <--x 85
91 <--x 90 98 <--x 85
92 <--x 85
92 <--x 88
93 <--x 86
93 <--x 90
94 <--x 85
94 <--x 86
95 <--x 87
95 <--x 90
96 <--x 86
96 <--x 87
97 <--x 88
97 <--x 90
98 <--x 87
98 <--x 88
99 --- 100
99 --- 101
99 --- 102
99 --- 103
99 --- 104
99 --- 105
99 --- 106
99 --- 107
99 --- 108
99 --- 109
99 --- 110
105 <--x 100
105 <--x 104
106 <--x 100
106 <--x 101
107 <--x 101
107 <--x 104
108 <--x 101
108 <--x 102
109 <--x 102
109 <--x 104
110 <--x 102
110 <--x 100
10 <--x 111
``` ```

View File

@ -70,13 +70,6 @@ description: Artifact commands cube.kcl
} }
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -97,6 +90,13 @@ description: Artifact commands cube.kcl
"type": "sketch_mode_disable" "type": "sketch_mode_disable"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -200,6 +200,14 @@ description: Artifact commands cube.kcl
"opposite": "None" "opposite": "None"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -211,8 +219,108 @@ description: Artifact commands cube.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "object_bring_to_front", "type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]" "object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
} }
}, },
{ {
@ -228,30 +336,12 @@ description: Artifact commands cube.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -266,39 +356,12 @@ description: Artifact commands cube.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -313,18 +376,10 @@ description: Artifact commands cube.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]" "edge_id": "[uuid]",
} "face_id": "[uuid]"
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
} }
}, },
{ {
@ -337,43 +392,6 @@ description: Artifact commands cube.kcl
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -388,28 +406,10 @@ description: Artifact commands cube.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
} }
] ]

View File

@ -18,12 +18,12 @@ flowchart LR
14["Cap Start"] 14["Cap Start"]
15["Cap End"] 15["Cap End"]
16["SweepEdge Opposite"] 16["SweepEdge Opposite"]
17["SweepEdge Adjacent"] 17["SweepEdge Opposite"]
18["SweepEdge Opposite"] 18["SweepEdge Opposite"]
19["SweepEdge Adjacent"] 19["SweepEdge Opposite"]
20["SweepEdge Opposite"] 20["SweepEdge Adjacent"]
21["SweepEdge Adjacent"] 21["SweepEdge Adjacent"]
22["SweepEdge Opposite"] 22["SweepEdge Adjacent"]
23["SweepEdge Adjacent"] 23["SweepEdge Adjacent"]
1 --- 2 1 --- 2
2 --- 3 2 --- 3
@ -31,24 +31,24 @@ flowchart LR
2 --- 5 2 --- 5
2 --- 6 2 --- 6
2 --- 7 2 --- 7
2 ---- 9
2 --- 8 2 --- 8
2 ---- 9
3 --- 13 3 --- 13
3 --- 22
3 --- 23
3 x--> 14 3 x--> 14
4 --- 12 3 --- 17
4 --- 20 3 --- 20
4 --- 21 4 --- 11
4 x--> 14 4 x--> 14
5 --- 11 4 --- 18
5 --- 18 4 --- 22
5 --- 19 5 --- 10
5 x--> 14 5 x--> 14
6 --- 10 5 --- 19
6 --- 16 5 --- 21
6 --- 17 6 --- 12
6 x--> 14 6 x--> 14
6 --- 16
6 --- 23
9 --- 10 9 --- 10
9 --- 11 9 --- 11
9 --- 12 9 --- 12
@ -63,20 +63,20 @@ flowchart LR
9 --- 21 9 --- 21
9 --- 22 9 --- 22
9 --- 23 9 --- 23
16 <--x 10
16 <--x 15
17 <--x 10
17 <--x 13
18 <--x 11
18 <--x 15
19 <--x 10 19 <--x 10
19 <--x 11 21 <--x 10
20 <--x 12 22 <--x 10
20 <--x 15 18 <--x 11
21 <--x 11 20 <--x 11
22 <--x 11
16 <--x 12
21 <--x 12 21 <--x 12
22 <--x 13
22 <--x 15
23 <--x 12 23 <--x 12
17 <--x 13
20 <--x 13
23 <--x 13 23 <--x 13
16 <--x 15
17 <--x 15
18 <--x 15
19 <--x 15
``` ```

View File

@ -3,6 +3,53 @@ source: kcl-lib/src/simulation_tests.rs
description: Operations executed cube.kcl description: Operations executed cube.kcl
--- ---
[ [
{
"labeledArgs": {
"planeOrSolid": {
"value": {
"type": "Plane",
"artifact_id": "[uuid]"
},
"sourceRange": []
}
},
"name": "startSketchOn",
"sourceRange": [],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"labeledArgs": {
"length": {
"value": {
"type": "Number",
"value": 40.0,
"ty": {
"type": "Default",
"len": {
"type": "Mm"
},
"angle": {
"type": "Degrees"
}
}
},
"sourceRange": []
}
},
"name": "extrude",
"sourceRange": [],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": []
}
},
{ {
"type": "GroupBegin", "type": "GroupBegin",
"group": { "group": {
@ -65,53 +112,6 @@ description: Operations executed cube.kcl
}, },
"sourceRange": [] "sourceRange": []
}, },
{
"labeledArgs": {
"planeOrSolid": {
"value": {
"type": "Plane",
"artifact_id": "[uuid]"
},
"sourceRange": []
}
},
"name": "startSketchOn",
"sourceRange": [],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"labeledArgs": {
"length": {
"value": {
"type": "Number",
"value": 40.0,
"ty": {
"type": "Default",
"len": {
"type": "Mm"
},
"angle": {
"type": "Degrees"
}
}
},
"sourceRange": []
}
},
"name": "extrude",
"sourceRange": [],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": []
}
},
{ {
"type": "GroupEnd" "type": "GroupEnd"
} }

View File

@ -70,13 +70,6 @@ description: Artifact commands cube_with_error.kcl
} }
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -97,6 +90,13 @@ description: Artifact commands cube_with_error.kcl
"type": "sketch_mode_disable" "type": "sketch_mode_disable"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -200,6 +200,14 @@ description: Artifact commands cube_with_error.kcl
"opposite": "None" "opposite": "None"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -211,8 +219,108 @@ description: Artifact commands cube_with_error.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "object_bring_to_front", "type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]" "object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
} }
}, },
{ {
@ -228,30 +336,12 @@ description: Artifact commands cube_with_error.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -266,39 +356,12 @@ description: Artifact commands cube_with_error.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -313,18 +376,10 @@ description: Artifact commands cube_with_error.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]" "edge_id": "[uuid]",
} "face_id": "[uuid]"
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
} }
}, },
{ {
@ -337,43 +392,6 @@ description: Artifact commands cube_with_error.kcl
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -388,28 +406,10 @@ description: Artifact commands cube_with_error.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
} }
] ]

View File

@ -18,12 +18,12 @@ flowchart LR
14["Cap Start"] 14["Cap Start"]
15["Cap End"] 15["Cap End"]
16["SweepEdge Opposite"] 16["SweepEdge Opposite"]
17["SweepEdge Adjacent"] 17["SweepEdge Opposite"]
18["SweepEdge Opposite"] 18["SweepEdge Opposite"]
19["SweepEdge Adjacent"] 19["SweepEdge Opposite"]
20["SweepEdge Opposite"] 20["SweepEdge Adjacent"]
21["SweepEdge Adjacent"] 21["SweepEdge Adjacent"]
22["SweepEdge Opposite"] 22["SweepEdge Adjacent"]
23["SweepEdge Adjacent"] 23["SweepEdge Adjacent"]
1 --- 2 1 --- 2
2 --- 3 2 --- 3
@ -31,24 +31,24 @@ flowchart LR
2 --- 5 2 --- 5
2 --- 6 2 --- 6
2 --- 7 2 --- 7
2 ---- 9
2 --- 8 2 --- 8
2 ---- 9
3 --- 13 3 --- 13
3 --- 22
3 --- 23
3 x--> 14 3 x--> 14
4 --- 12 3 --- 17
4 --- 20 3 --- 20
4 --- 21 4 --- 11
4 x--> 14 4 x--> 14
5 --- 11 4 --- 18
5 --- 18 4 --- 22
5 --- 19 5 --- 10
5 x--> 14 5 x--> 14
6 --- 10 5 --- 19
6 --- 16 5 --- 21
6 --- 17 6 --- 12
6 x--> 14 6 x--> 14
6 --- 16
6 --- 23
9 --- 10 9 --- 10
9 --- 11 9 --- 11
9 --- 12 9 --- 12
@ -63,20 +63,20 @@ flowchart LR
9 --- 21 9 --- 21
9 --- 22 9 --- 22
9 --- 23 9 --- 23
16 <--x 10
16 <--x 15
17 <--x 10
17 <--x 13
18 <--x 11
18 <--x 15
19 <--x 10 19 <--x 10
19 <--x 11 21 <--x 10
20 <--x 12 22 <--x 10
20 <--x 15 18 <--x 11
21 <--x 11 20 <--x 11
22 <--x 11
16 <--x 12
21 <--x 12 21 <--x 12
22 <--x 13
22 <--x 15
23 <--x 12 23 <--x 12
17 <--x 13
20 <--x 13
23 <--x 13 23 <--x 13
16 <--x 15
17 <--x 15
18 <--x 15
19 <--x 15
``` ```

View File

@ -3,17 +3,6 @@ source: kcl-lib/src/simulation_tests.rs
description: Operations executed cube_with_error.kcl description: Operations executed cube_with_error.kcl
--- ---
[ [
{
"type": "GroupBegin",
"group": {
"type": "FunctionCall",
"name": "cube",
"functionSourceRange": [],
"unlabeledArg": null,
"labeledArgs": {}
},
"sourceRange": []
},
{ {
"labeledArgs": { "labeledArgs": {
"planeOrSolid": { "planeOrSolid": {
@ -61,6 +50,17 @@ description: Operations executed cube_with_error.kcl
"sourceRange": [] "sourceRange": []
} }
}, },
{
"type": "GroupBegin",
"group": {
"type": "FunctionCall",
"name": "cube",
"functionSourceRange": [],
"unlabeledArg": null,
"labeledArgs": {}
},
"sourceRange": []
},
{ {
"type": "GroupEnd" "type": "GroupEnd"
} }

File diff suppressed because it is too large Load Diff

View File

@ -1,255 +1,255 @@
```mermaid ```mermaid
flowchart LR flowchart LR
subgraph path2 [Path] subgraph path7 [Path]
2["Path<br>[396, 467, 0]"] 7["Path<br>[396, 467, 0]"]
3["Segment<br>[473, 564, 0]"] 21["Segment<br>[473, 564, 0]"]
4["Segment<br>[570, 661, 0]"] 22["Segment<br>[570, 661, 0]"]
5["Segment<br>[667, 760, 0]"] 23["Segment<br>[667, 760, 0]"]
6["Segment<br>[766, 774, 0]"] 24["Segment<br>[766, 774, 0]"]
7[Solid2d] 40[Solid2d]
end
subgraph path8 [Path]
8["Path<br>[808, 833, 0]"]
25["Segment<br>[839, 887, 0]"]
26["Segment<br>[893, 950, 0]"]
27["Segment<br>[956, 1005, 0]"]
28["Segment<br>[1011, 1030, 0]"]
45[Solid2d]
end end
subgraph path9 [Path] subgraph path9 [Path]
9["Path<br>[808, 833, 0]"] 9["Path<br>[1343, 1368, 0]"]
10["Segment<br>[839, 887, 0]"]
11["Segment<br>[893, 950, 0]"]
12["Segment<br>[956, 1005, 0]"]
13["Segment<br>[1011, 1030, 0]"]
14[Solid2d]
end end
subgraph path31 [Path] subgraph path10 [Path]
31["Path<br>[1343, 1368, 0]"] 10["Path<br>[1343, 1368, 0]"]
end end
subgraph path32 [Path] subgraph path11 [Path]
32["Path<br>[1376, 1413, 0]"] 11["Path<br>[1343, 1368, 0]"]
33["Segment<br>[1376, 1413, 0]"]
34[Solid2d]
end end
subgraph path35 [Path] subgraph path12 [Path]
35["Path<br>[1439, 1477, 0]"] 12["Path<br>[1343, 1368, 0]"]
36["Segment<br>[1439, 1477, 0]"] end
subgraph path13 [Path]
13["Path<br>[1376, 1413, 0]"]
29["Segment<br>[1376, 1413, 0]"]
38[Solid2d]
end
subgraph path14 [Path]
14["Path<br>[1376, 1413, 0]"]
31["Segment<br>[1376, 1413, 0]"]
42[Solid2d]
end
subgraph path15 [Path]
15["Path<br>[1376, 1413, 0]"]
30["Segment<br>[1376, 1413, 0]"]
44[Solid2d]
end
subgraph path16 [Path]
16["Path<br>[1376, 1413, 0]"]
32["Segment<br>[1376, 1413, 0]"]
46[Solid2d]
end
subgraph path17 [Path]
17["Path<br>[1439, 1477, 0]"]
35["Segment<br>[1439, 1477, 0]"]
37[Solid2d] 37[Solid2d]
end end
subgraph path45 [Path] subgraph path18 [Path]
45["Path<br>[1343, 1368, 0]"] 18["Path<br>[1439, 1477, 0]"]
34["Segment<br>[1439, 1477, 0]"]
39[Solid2d]
end end
subgraph path46 [Path] subgraph path19 [Path]
46["Path<br>[1376, 1413, 0]"] 19["Path<br>[1439, 1477, 0]"]
47["Segment<br>[1376, 1413, 0]"] 36["Segment<br>[1439, 1477, 0]"]
48[Solid2d] 41[Solid2d]
end end
subgraph path49 [Path] subgraph path20 [Path]
49["Path<br>[1439, 1477, 0]"] 20["Path<br>[1439, 1477, 0]"]
50["Segment<br>[1439, 1477, 0]"] 33["Segment<br>[1439, 1477, 0]"]
51[Solid2d] 43[Solid2d]
end
subgraph path59 [Path]
59["Path<br>[1343, 1368, 0]"]
end
subgraph path60 [Path]
60["Path<br>[1376, 1413, 0]"]
61["Segment<br>[1376, 1413, 0]"]
62[Solid2d]
end
subgraph path63 [Path]
63["Path<br>[1439, 1477, 0]"]
64["Segment<br>[1439, 1477, 0]"]
65[Solid2d]
end
subgraph path73 [Path]
73["Path<br>[1343, 1368, 0]"]
end
subgraph path74 [Path]
74["Path<br>[1376, 1413, 0]"]
75["Segment<br>[1376, 1413, 0]"]
76[Solid2d]
end
subgraph path77 [Path]
77["Path<br>[1439, 1477, 0]"]
78["Segment<br>[1439, 1477, 0]"]
79[Solid2d]
end end
1["Plane<br>[373, 390, 0]"] 1["Plane<br>[373, 390, 0]"]
8["Plane<br>[783, 802, 0]"] 2["Plane<br>[783, 802, 0]"]
15["Sweep Extrusion<br>[1036, 1064, 0]"] 3["Plane<br>[1316, 1335, 0]"]
16[Wall] 4["Plane<br>[1316, 1335, 0]"]
17[Wall] 5["Plane<br>[1316, 1335, 0]"]
18[Wall] 6["Plane<br>[1316, 1335, 0]"]
19[Wall] 47["Sweep Extrusion<br>[1036, 1064, 0]"]
20["Cap Start"] 48["Sweep Extrusion<br>[1486, 1510, 0]"]
21["Cap End"] 49["Sweep Extrusion<br>[1486, 1510, 0]"]
22["SweepEdge Opposite"] 50["Sweep Extrusion<br>[1486, 1510, 0]"]
23["SweepEdge Adjacent"] 51["Sweep Extrusion<br>[1486, 1510, 0]"]
24["SweepEdge Opposite"] 52[Wall]
25["SweepEdge Adjacent"]
26["SweepEdge Opposite"]
27["SweepEdge Adjacent"]
28["SweepEdge Opposite"]
29["SweepEdge Adjacent"]
30["Plane<br>[1316, 1335, 0]"]
38["Sweep Extrusion<br>[1486, 1510, 0]"]
39[Wall]
40["Cap Start"]
41["Cap End"]
42["SweepEdge Opposite"]
43["SweepEdge Adjacent"]
44["Plane<br>[1316, 1335, 0]"]
52["Sweep Extrusion<br>[1486, 1510, 0]"]
53[Wall] 53[Wall]
54["Cap Start"] 54[Wall]
55["Cap End"] 55[Wall]
56["SweepEdge Opposite"] 56[Wall]
57["SweepEdge Adjacent"] 57[Wall]
58["Plane<br>[1316, 1335, 0]"] 58[Wall]
66["Sweep Extrusion<br>[1486, 1510, 0]"] 59[Wall]
67[Wall] 60["Cap Start"]
68["Cap Start"] 61["Cap Start"]
62["Cap Start"]
63["Cap Start"]
64["Cap Start"]
65["Cap End"]
66["Cap End"]
67["Cap End"]
68["Cap End"]
69["Cap End"] 69["Cap End"]
70["SweepEdge Opposite"] 70["SweepEdge Opposite"]
71["SweepEdge Adjacent"] 71["SweepEdge Opposite"]
72["Plane<br>[1316, 1335, 0]"] 72["SweepEdge Opposite"]
80["Sweep Extrusion<br>[1486, 1510, 0]"] 73["SweepEdge Opposite"]
81[Wall] 74["SweepEdge Opposite"]
82["Cap Start"] 75["SweepEdge Opposite"]
83["Cap End"] 76["SweepEdge Opposite"]
84["SweepEdge Opposite"] 77["SweepEdge Opposite"]
78["SweepEdge Adjacent"]
79["SweepEdge Adjacent"]
80["SweepEdge Adjacent"]
81["SweepEdge Adjacent"]
82["SweepEdge Adjacent"]
83["SweepEdge Adjacent"]
84["SweepEdge Adjacent"]
85["SweepEdge Adjacent"] 85["SweepEdge Adjacent"]
86["EdgeCut Fillet<br>[1070, 1276, 0]"] 86["EdgeCut Fillet<br>[1070, 1276, 0]"]
87["EdgeCut Fillet<br>[1070, 1276, 0]"] 87["EdgeCut Fillet<br>[1070, 1276, 0]"]
88["EdgeCut Fillet<br>[1070, 1276, 0]"] 88["EdgeCut Fillet<br>[1070, 1276, 0]"]
89["EdgeCut Fillet<br>[1070, 1276, 0]"] 89["EdgeCut Fillet<br>[1070, 1276, 0]"]
1 --- 2 1 --- 7
2 --- 3 2 --- 8
2 --- 4 3 --- 9
2 --- 5 3 --- 13
2 --- 6 3 --- 18
2 --- 7 4 --- 11
8 --- 9 4 --- 14
9 --- 10 4 --- 19
9 --- 11 5 --- 12
9 --- 12 5 --- 16
9 --- 13 5 --- 17
9 ---- 15 6 --- 10
9 --- 14 6 --- 15
10 --- 16 6 --- 20
10 --- 22 7 --- 21
10 --- 23 7 --- 22
10 x--> 20 7 --- 23
11 --- 17 7 --- 24
11 --- 24 7 --- 40
11 --- 25 8 --- 25
11 x--> 20 8 --- 26
12 --- 18 8 --- 27
12 --- 26 8 --- 28
12 --- 27 8 --- 45
12 x--> 20 8 ---- 47
13 --- 19
13 --- 28
13 --- 29 13 --- 29
13 x--> 20 13 --- 38
15 --- 16 13 ---- 51
15 --- 17 14 --- 31
15 --- 18 14 --- 42
15 --- 19 14 ---- 48
15 --- 20 15 --- 30
15 --- 21 15 --- 44
15 --- 22 15 ---- 49
15 --- 23 16 --- 32
15 --- 24 16 --- 46
15 --- 25 16 ---- 50
15 --- 26 17 --- 35
15 --- 27 17 --- 37
15 --- 28 18 --- 34
15 --- 29 18 --- 39
22 <--x 16 19 --- 36
22 <--x 21 19 --- 41
24 <--x 17 20 --- 33
24 <--x 21 20 --- 43
26 <--x 18 25 --- 55
26 <--x 21 25 x--> 63
28 <--x 19 25 --- 74
28 <--x 21 25 --- 82
30 --- 31 26 --- 56
30 --- 32 26 x--> 63
30 --- 35 26 --- 76
32 --- 33 26 --- 83
32 ---- 38 27 --- 58
32 --- 34 27 x--> 63
33 --- 39 27 --- 73
33 --- 42 27 --- 84
33 --- 43 28 --- 57
33 x--> 40 28 x--> 63
35 --- 36 28 --- 75
35 --- 37 28 --- 81
38 --- 39 29 --- 59
38 --- 40 29 x--> 64
38 --- 41 29 --- 77
38 --- 42 29 --- 85
38 --- 43 30 --- 53
42 <--x 39 30 x--> 61
42 <--x 41 30 --- 71
43 <--x 39 30 --- 79
44 --- 45 31 --- 52
44 --- 46 31 x--> 60
44 --- 49 31 --- 70
46 --- 47 31 --- 78
46 ---- 52 32 --- 54
46 --- 48 32 x--> 62
47 --- 53 32 --- 72
32 --- 80
47 --- 55
47 --- 56 47 --- 56
47 --- 57 47 --- 57
47 x--> 54 47 --- 58
49 --- 50 47 --- 63
49 --- 51 47 --- 68
52 --- 53 47 --- 73
52 --- 54 47 --- 74
52 --- 55 47 --- 75
52 --- 56 47 --- 76
52 --- 57 47 --- 81
56 <--x 53 47 --- 82
56 <--x 55 47 --- 83
57 <--x 53 47 --- 84
58 --- 59 48 --- 52
58 --- 60 48 --- 60
58 --- 63 48 --- 65
60 --- 61 48 --- 70
60 ---- 66 48 --- 78
60 --- 62 49 --- 53
61 --- 67 49 --- 61
61 --- 70 49 --- 66
61 --- 71 49 --- 71
61 x--> 68 49 --- 79
63 --- 64 50 --- 54
63 --- 65 50 --- 62
66 --- 67 50 --- 67
66 --- 68 50 --- 72
66 --- 69 50 --- 80
66 --- 70 51 --- 59
66 --- 71 51 --- 64
70 <--x 67 51 --- 69
70 <--x 69 51 --- 77
71 <--x 67 51 --- 85
72 --- 73 70 <--x 52
72 --- 74 78 <--x 52
72 --- 77 71 <--x 53
74 --- 75 79 <--x 53
74 ---- 80 72 <--x 54
74 --- 76 80 <--x 54
75 --- 81 74 <--x 55
75 --- 84 76 <--x 56
75 --- 85 75 <--x 57
75 x--> 82 73 <--x 58
77 --- 78 77 <--x 59
77 --- 79 85 <--x 59
80 --- 81 70 <--x 65
80 --- 82 71 <--x 66
80 --- 83 72 <--x 67
80 --- 84 73 <--x 68
80 --- 85 74 <--x 68
84 <--x 81 75 <--x 68
84 <--x 83 76 <--x 68
85 <--x 81 77 <--x 69
23 <--x 86 81 <--x 89
25 <--x 87 82 <--x 86
27 <--x 88 83 <--x 87
29 <--x 89 84 <--x 88
``` ```

View File

@ -122,15 +122,19 @@ description: Operations executed fillet-and-shell.kcl
"sourceRange": [] "sourceRange": []
}, },
{ {
"type": "GroupBegin", "labeledArgs": {
"group": { "planeOrSolid": {
"type": "FunctionCall", "value": {
"name": "m25Screw", "type": "String",
"functionSourceRange": [], "value": "XY"
"unlabeledArg": null,
"labeledArgs": {}
}, },
"sourceRange": [] "sourceRange": []
}
},
"name": "startSketchOn",
"sourceRange": [],
"type": "StdLibCall",
"unlabeledArg": null
}, },
{ {
"labeledArgs": { "labeledArgs": {
@ -147,6 +151,111 @@ description: Operations executed fillet-and-shell.kcl
"type": "StdLibCall", "type": "StdLibCall",
"unlabeledArg": null "unlabeledArg": null
}, },
{
"labeledArgs": {
"planeOrSolid": {
"value": {
"type": "String",
"value": "XY"
},
"sourceRange": []
}
},
"name": "startSketchOn",
"sourceRange": [],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"labeledArgs": {
"planeOrSolid": {
"value": {
"type": "String",
"value": "XY"
},
"sourceRange": []
}
},
"name": "startSketchOn",
"sourceRange": [],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"labeledArgs": {
"tool": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": []
}
},
"name": "subtract2d",
"sourceRange": [],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": []
}
},
{
"labeledArgs": {
"tool": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": []
}
},
"name": "subtract2d",
"sourceRange": [],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": []
}
},
{
"labeledArgs": {
"tool": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": []
}
},
"name": "subtract2d",
"sourceRange": [],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": []
}
},
{ {
"labeledArgs": { "labeledArgs": {
"tool": { "tool": {
@ -204,48 +313,26 @@ description: Operations executed fillet-and-shell.kcl
"sourceRange": [] "sourceRange": []
} }
}, },
{
"type": "GroupEnd"
},
{
"type": "GroupBegin",
"group": {
"type": "FunctionCall",
"name": "m25Screw",
"functionSourceRange": [],
"unlabeledArg": null,
"labeledArgs": {}
},
"sourceRange": []
},
{ {
"labeledArgs": { "labeledArgs": {
"planeOrSolid": { "length": {
"value": { "value": {
"type": "String", "type": "Number",
"value": "XY" "value": 4.0,
"ty": {
"type": "Default",
"len": {
"type": "Mm"
}, },
"sourceRange": [] "angle": {
"type": "Degrees"
} }
},
"name": "startSketchOn",
"sourceRange": [],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"labeledArgs": {
"tool": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
} }
}, },
"sourceRange": [] "sourceRange": []
} }
}, },
"name": "subtract2d", "name": "extrude",
"sourceRange": [], "sourceRange": [],
"type": "StdLibCall", "type": "StdLibCall",
"unlabeledArg": { "unlabeledArg": {
@ -290,60 +377,6 @@ description: Operations executed fillet-and-shell.kcl
"sourceRange": [] "sourceRange": []
} }
}, },
{
"type": "GroupEnd"
},
{
"type": "GroupBegin",
"group": {
"type": "FunctionCall",
"name": "m25Screw",
"functionSourceRange": [],
"unlabeledArg": null,
"labeledArgs": {}
},
"sourceRange": []
},
{
"labeledArgs": {
"planeOrSolid": {
"value": {
"type": "String",
"value": "XY"
},
"sourceRange": []
}
},
"name": "startSketchOn",
"sourceRange": [],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"labeledArgs": {
"tool": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": []
}
},
"name": "subtract2d",
"sourceRange": [],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": []
}
},
{ {
"labeledArgs": { "labeledArgs": {
"length": { "length": {
@ -377,7 +410,15 @@ description: Operations executed fillet-and-shell.kcl
} }
}, },
{ {
"type": "GroupEnd" "type": "GroupBegin",
"group": {
"type": "FunctionCall",
"name": "m25Screw",
"functionSourceRange": [],
"unlabeledArg": null,
"labeledArgs": {}
},
"sourceRange": []
}, },
{ {
"type": "GroupBegin", "type": "GroupBegin",
@ -391,79 +432,26 @@ description: Operations executed fillet-and-shell.kcl
"sourceRange": [] "sourceRange": []
}, },
{ {
"labeledArgs": { "type": "GroupBegin",
"planeOrSolid": { "group": {
"value": { "type": "FunctionCall",
"type": "String", "name": "m25Screw",
"value": "XY" "functionSourceRange": [],
"unlabeledArg": null,
"labeledArgs": {}
}, },
"sourceRange": [] "sourceRange": []
}
},
"name": "startSketchOn",
"sourceRange": [],
"type": "StdLibCall",
"unlabeledArg": null
}, },
{ {
"labeledArgs": { "type": "GroupBegin",
"tool": { "group": {
"value": { "type": "FunctionCall",
"type": "Sketch", "name": "m25Screw",
"value": { "functionSourceRange": [],
"artifactId": "[uuid]" "unlabeledArg": null,
} "labeledArgs": {}
}, },
"sourceRange": [] "sourceRange": []
}
},
"name": "subtract2d",
"sourceRange": [],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": []
}
},
{
"labeledArgs": {
"length": {
"value": {
"type": "Number",
"value": 4.0,
"ty": {
"type": "Default",
"len": {
"type": "Mm"
},
"angle": {
"type": "Degrees"
}
}
},
"sourceRange": []
}
},
"name": "extrude",
"sourceRange": [],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": []
}
},
{
"type": "GroupEnd"
}, },
{ {
"type": "KclStdLibCall", "type": "KclStdLibCall",
@ -513,5 +501,17 @@ description: Operations executed fillet-and-shell.kcl
} }
}, },
"sourceRange": [] "sourceRange": []
},
{
"type": "GroupEnd"
},
{
"type": "GroupEnd"
},
{
"type": "GroupEnd"
},
{
"type": "GroupEnd"
} }
] ]

View File

@ -54,6 +54,14 @@ description: Artifact commands flush_batch_on_end.kcl
"hide": true "hide": true
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "close_path",
"path_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -70,33 +78,6 @@ description: Artifact commands flush_batch_on_end.kcl
} }
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "move_path_pen",
"path": "[uuid]",
"to": {
"x": 6.9453125,
"y": 0.0,
"z": 0.0
}
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "sketch_mode_disable"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -122,6 +103,33 @@ description: Artifact commands flush_batch_on_end.kcl
} }
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "move_path_pen",
"path": "[uuid]",
"to": {
"x": 6.9453125,
"y": 0.0,
"z": 0.0
}
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "sketch_mode_disable"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -146,33 +154,6 @@ description: Artifact commands flush_batch_on_end.kcl
} }
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "move_path_pen",
"path": "[uuid]",
"to": {
"x": 4.6228,
"y": 0.0,
"z": 0.0
}
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "sketch_mode_disable"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -202,17 +183,27 @@ description: Artifact commands flush_batch_on_end.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "close_path", "type": "move_path_pen",
"path_id": "[uuid]" "path": "[uuid]",
"to": {
"x": 4.6228,
"y": 0.0,
"z": 0.0
}
} }
}, },
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid2d_add_hole", "type": "sketch_mode_disable"
"object_id": "[uuid]", }
"hole_id": "[uuid]" },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
} }
}, },
{ {
@ -224,6 +215,15 @@ description: Artifact commands flush_batch_on_end.kcl
"hidden": true "hidden": true
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid2d_add_hole",
"object_id": "[uuid]",
"hole_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -251,6 +251,14 @@ description: Artifact commands flush_batch_on_end.kcl
"opposite": "None" "opposite": "None"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -262,8 +270,54 @@ description: Artifact commands flush_batch_on_end.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "object_bring_to_front", "type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]" "object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
} }
}, },
{ {
@ -279,30 +333,12 @@ description: Artifact commands flush_batch_on_end.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -313,24 +349,6 @@ description: Artifact commands flush_batch_on_end.kcl
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -345,28 +363,10 @@ description: Artifact commands flush_batch_on_end.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
} }
] ]

View File

@ -2,12 +2,12 @@
flowchart LR flowchart LR
subgraph path2 [Path] subgraph path2 [Path]
2["Path<br>[282, 374, 0]"] 2["Path<br>[282, 374, 0]"]
3["Segment<br>[282, 374, 0]"] 4["Segment<br>[282, 374, 0]"]
4[Solid2d] 6[Solid2d]
end end
subgraph path5 [Path] subgraph path3 [Path]
5["Path<br>[437, 529, 0]"] 3["Path<br>[437, 529, 0]"]
6["Segment<br>[437, 529, 0]"] 5["Segment<br>[437, 529, 0]"]
7[Solid2d] 7[Solid2d]
end end
1["Plane<br>[199, 218, 0]"] 1["Plane<br>[199, 218, 0]"]
@ -18,22 +18,22 @@ flowchart LR
12["SweepEdge Opposite"] 12["SweepEdge Opposite"]
13["SweepEdge Adjacent"] 13["SweepEdge Adjacent"]
1 --- 2 1 --- 2
1 --- 5 1 --- 3
2 --- 3
2 ---- 8
2 --- 4 2 --- 4
3 --- 9 2 --- 6
3 --- 12 2 ---- 8
3 --- 13 3 --- 5
3 x--> 10 3 --- 7
5 --- 6 4 --- 9
5 --- 7 4 x--> 10
4 --- 12
4 --- 13
8 --- 9 8 --- 9
8 --- 10 8 --- 10
8 --- 11 8 --- 11
8 --- 12 8 --- 12
8 --- 13 8 --- 13
12 <--x 9 12 <--x 9
12 <--x 11
13 <--x 9 13 <--x 9
12 <--x 11
``` ```

View File

@ -70,13 +70,6 @@ description: Artifact commands function_sketch.kcl
} }
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -97,6 +90,13 @@ description: Artifact commands function_sketch.kcl
"type": "sketch_mode_disable" "type": "sketch_mode_disable"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -183,6 +183,14 @@ description: Artifact commands function_sketch.kcl
"opposite": "None" "opposite": "None"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -194,8 +202,108 @@ description: Artifact commands function_sketch.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "object_bring_to_front", "type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]" "object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
} }
}, },
{ {
@ -211,30 +319,12 @@ description: Artifact commands function_sketch.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -249,39 +339,12 @@ description: Artifact commands function_sketch.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -296,18 +359,10 @@ description: Artifact commands function_sketch.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]" "edge_id": "[uuid]",
} "face_id": "[uuid]"
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
} }
}, },
{ {
@ -320,43 +375,6 @@ description: Artifact commands function_sketch.kcl
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -371,28 +389,10 @@ description: Artifact commands function_sketch.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
} }
] ]

View File

@ -17,36 +17,36 @@ flowchart LR
13["Cap Start"] 13["Cap Start"]
14["Cap End"] 14["Cap End"]
15["SweepEdge Opposite"] 15["SweepEdge Opposite"]
16["SweepEdge Adjacent"] 16["SweepEdge Opposite"]
17["SweepEdge Opposite"] 17["SweepEdge Opposite"]
18["SweepEdge Adjacent"] 18["SweepEdge Opposite"]
19["SweepEdge Opposite"] 19["SweepEdge Adjacent"]
20["SweepEdge Adjacent"] 20["SweepEdge Adjacent"]
21["SweepEdge Opposite"] 21["SweepEdge Adjacent"]
22["SweepEdge Adjacent"] 22["SweepEdge Adjacent"]
1 --- 2 1 --- 2
2 --- 3 2 --- 3
2 --- 4 2 --- 4
2 --- 5 2 --- 5
2 --- 6 2 --- 6
2 ---- 8
2 --- 7 2 --- 7
2 ---- 8
3 --- 12 3 --- 12
3 --- 21
3 --- 22
3 x--> 13 3 x--> 13
4 --- 11 3 --- 17
4 --- 19 3 --- 20
4 --- 20 4 --- 10
4 x--> 13 4 x--> 13
5 --- 10 4 --- 18
5 --- 17 4 --- 21
5 --- 18 5 --- 9
5 x--> 13 5 x--> 13
6 --- 9 5 --- 15
6 --- 15 5 --- 22
6 --- 16 6 --- 11
6 x--> 13 6 x--> 13
6 --- 16
6 --- 19
8 --- 9 8 --- 9
8 --- 10 8 --- 10
8 --- 11 8 --- 11
@ -62,19 +62,19 @@ flowchart LR
8 --- 21 8 --- 21
8 --- 22 8 --- 22
15 <--x 9 15 <--x 9
15 <--x 14 21 <--x 9
16 <--x 9 22 <--x 9
16 <--x 12
17 <--x 10
17 <--x 14
18 <--x 9
18 <--x 10 18 <--x 10
19 <--x 11
19 <--x 14
20 <--x 10 20 <--x 10
20 <--x 11 21 <--x 10
21 <--x 12 16 <--x 11
21 <--x 14 19 <--x 11
22 <--x 11 22 <--x 11
22 <--x 12 17 <--x 12
19 <--x 12
20 <--x 12
15 <--x 14
16 <--x 14
17 <--x 14
18 <--x 14
``` ```

View File

@ -3,17 +3,6 @@ source: kcl-lib/src/simulation_tests.rs
description: Operations executed function_sketch.kcl description: Operations executed function_sketch.kcl
--- ---
[ [
{
"type": "GroupBegin",
"group": {
"type": "FunctionCall",
"name": "box",
"functionSourceRange": [],
"unlabeledArg": null,
"labeledArgs": {}
},
"sourceRange": []
},
{ {
"labeledArgs": { "labeledArgs": {
"planeOrSolid": { "planeOrSolid": {
@ -61,6 +50,17 @@ description: Operations executed function_sketch.kcl
"sourceRange": [] "sourceRange": []
} }
}, },
{
"type": "GroupBegin",
"group": {
"type": "FunctionCall",
"name": "box",
"functionSourceRange": [],
"unlabeledArg": null,
"labeledArgs": {}
},
"sourceRange": []
},
{ {
"type": "GroupEnd" "type": "GroupEnd"
} }

View File

@ -70,13 +70,6 @@ description: Artifact commands function_sketch_with_position.kcl
} }
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -97,6 +90,13 @@ description: Artifact commands function_sketch_with_position.kcl
"type": "sketch_mode_disable" "type": "sketch_mode_disable"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -183,6 +183,14 @@ description: Artifact commands function_sketch_with_position.kcl
"opposite": "None" "opposite": "None"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -194,8 +202,108 @@ description: Artifact commands function_sketch_with_position.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "object_bring_to_front", "type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]" "object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
} }
}, },
{ {
@ -211,30 +319,12 @@ description: Artifact commands function_sketch_with_position.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -249,39 +339,12 @@ description: Artifact commands function_sketch_with_position.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -296,18 +359,10 @@ description: Artifact commands function_sketch_with_position.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]" "edge_id": "[uuid]",
} "face_id": "[uuid]"
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
} }
}, },
{ {
@ -320,43 +375,6 @@ description: Artifact commands function_sketch_with_position.kcl
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -371,28 +389,10 @@ description: Artifact commands function_sketch_with_position.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
} }
] ]

View File

@ -17,36 +17,36 @@ flowchart LR
13["Cap Start"] 13["Cap Start"]
14["Cap End"] 14["Cap End"]
15["SweepEdge Opposite"] 15["SweepEdge Opposite"]
16["SweepEdge Adjacent"] 16["SweepEdge Opposite"]
17["SweepEdge Opposite"] 17["SweepEdge Opposite"]
18["SweepEdge Adjacent"] 18["SweepEdge Opposite"]
19["SweepEdge Opposite"] 19["SweepEdge Adjacent"]
20["SweepEdge Adjacent"] 20["SweepEdge Adjacent"]
21["SweepEdge Opposite"] 21["SweepEdge Adjacent"]
22["SweepEdge Adjacent"] 22["SweepEdge Adjacent"]
1 --- 2 1 --- 2
2 --- 3 2 --- 3
2 --- 4 2 --- 4
2 --- 5 2 --- 5
2 --- 6 2 --- 6
2 ---- 8
2 --- 7 2 --- 7
2 ---- 8
3 --- 12 3 --- 12
3 --- 21
3 --- 22
3 x--> 13 3 x--> 13
4 --- 11 3 --- 17
4 --- 19 3 --- 20
4 --- 20 4 --- 10
4 x--> 13 4 x--> 13
5 --- 10 4 --- 18
5 --- 17 4 --- 21
5 --- 18 5 --- 9
5 x--> 13 5 x--> 13
6 --- 9 5 --- 15
6 --- 15 5 --- 22
6 --- 16 6 --- 11
6 x--> 13 6 x--> 13
6 --- 16
6 --- 19
8 --- 9 8 --- 9
8 --- 10 8 --- 10
8 --- 11 8 --- 11
@ -62,19 +62,19 @@ flowchart LR
8 --- 21 8 --- 21
8 --- 22 8 --- 22
15 <--x 9 15 <--x 9
15 <--x 14 21 <--x 9
16 <--x 9 22 <--x 9
16 <--x 12
17 <--x 10
17 <--x 14
18 <--x 9
18 <--x 10 18 <--x 10
19 <--x 11
19 <--x 14
20 <--x 10 20 <--x 10
20 <--x 11 21 <--x 10
21 <--x 12 16 <--x 11
21 <--x 14 19 <--x 11
22 <--x 11 22 <--x 11
22 <--x 12 17 <--x 12
19 <--x 12
20 <--x 12
15 <--x 14
16 <--x 14
17 <--x 14
18 <--x 14
``` ```

View File

@ -3,17 +3,6 @@ source: kcl-lib/src/simulation_tests.rs
description: Operations executed function_sketch_with_position.kcl description: Operations executed function_sketch_with_position.kcl
--- ---
[ [
{
"type": "GroupBegin",
"group": {
"type": "FunctionCall",
"name": "box",
"functionSourceRange": [],
"unlabeledArg": null,
"labeledArgs": {}
},
"sourceRange": []
},
{ {
"labeledArgs": { "labeledArgs": {
"planeOrSolid": { "planeOrSolid": {
@ -61,6 +50,17 @@ description: Operations executed function_sketch_with_position.kcl
"sourceRange": [] "sourceRange": []
} }
}, },
{
"type": "GroupBegin",
"group": {
"type": "FunctionCall",
"name": "box",
"functionSourceRange": [],
"unlabeledArg": null,
"labeledArgs": {}
},
"sourceRange": []
},
{ {
"type": "GroupEnd" "type": "GroupEnd"
} }

View File

@ -54,6 +54,14 @@ description: Artifact commands helix_ccw.kcl
"hide": true "hide": true
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "close_path",
"path_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -70,33 +78,6 @@ description: Artifact commands helix_ccw.kcl
} }
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "move_path_pen",
"path": "[uuid]",
"to": {
"x": 15.0,
"y": 5.0,
"z": 0.0
}
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "sketch_mode_disable"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -126,8 +107,27 @@ description: Artifact commands helix_ccw.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "close_path", "type": "move_path_pen",
"path_id": "[uuid]" "path": "[uuid]",
"to": {
"x": 15.0,
"y": 5.0,
"z": 0.0
}
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "sketch_mode_disable"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
} }
}, },
{ {
@ -157,13 +157,6 @@ description: Artifact commands helix_ccw.kcl
"opposite": "None" "opposite": "None"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "sketch_mode_disable"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -172,6 +165,40 @@ description: Artifact commands helix_ccw.kcl
"object_id": "[uuid]" "object_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "sketch_mode_disable"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -181,34 +208,6 @@ description: Artifact commands helix_ccw.kcl
"edge_id": "[uuid]" "edge_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -223,9 +222,10 @@ description: Artifact commands helix_ccw.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]" "edge_id": "[uuid]",
"face_id": "[uuid]"
} }
}, },
{ {

View File

@ -14,18 +14,18 @@ flowchart LR
10["SweepEdge Adjacent"] 10["SweepEdge Adjacent"]
1 --- 2 1 --- 2
2 --- 3 2 --- 3
2 ---- 5
2 --- 4 2 --- 4
2 ---- 5
3 --- 6 3 --- 6
3 x--> 7
3 --- 9 3 --- 9
3 --- 10 3 --- 10
3 x--> 7
5 --- 6 5 --- 6
5 --- 7 5 --- 7
5 --- 8 5 --- 8
5 --- 9 5 --- 9
5 --- 10 5 --- 10
9 <--x 6 9 <--x 6
9 <--x 8
10 <--x 6 10 <--x 6
9 <--x 8
``` ```

View File

@ -70,13 +70,6 @@ description: Artifact commands helix_simple.kcl
} }
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -97,6 +90,13 @@ description: Artifact commands helix_simple.kcl
"type": "sketch_mode_disable" "type": "sketch_mode_disable"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],

File diff suppressed because it is too large Load Diff

View File

@ -1,49 +1,49 @@
```mermaid ```mermaid
flowchart LR flowchart LR
subgraph path2 [Path] subgraph path3 [Path]
2["Path<br>[422, 459, 0]"] 3["Path<br>[422, 459, 0]"]
3["Segment<br>[465, 505, 0]"] 5["Segment<br>[465, 505, 0]"]
4["Segment<br>[511, 562, 0]"] 6["Segment<br>[511, 562, 0]"]
5["Segment<br>[568, 604, 0]"] 7["Segment<br>[568, 604, 0]"]
6["Segment<br>[610, 662, 0]"] 8["Segment<br>[610, 662, 0]"]
7["Segment<br>[668, 733, 0]"] 9["Segment<br>[668, 733, 0]"]
8["Segment<br>[739, 791, 0]"] 10["Segment<br>[739, 791, 0]"]
9["Segment<br>[797, 855, 0]"] 11["Segment<br>[797, 855, 0]"]
10["Segment<br>[861, 912, 0]"] 12["Segment<br>[861, 912, 0]"]
11["Segment<br>[918, 960, 0]"] 13["Segment<br>[918, 960, 0]"]
12["Segment<br>[966, 1017, 0]"] 14["Segment<br>[966, 1017, 0]"]
13["Segment<br>[1023, 1059, 0]"] 15["Segment<br>[1023, 1059, 0]"]
14["Segment<br>[1065, 1117, 0]"] 16["Segment<br>[1065, 1117, 0]"]
15["Segment<br>[1123, 1192, 0]"] 17["Segment<br>[1123, 1192, 0]"]
16["Segment<br>[1198, 1251, 0]"] 18["Segment<br>[1198, 1251, 0]"]
17["Segment<br>[1257, 1296, 0]"] 19["Segment<br>[1257, 1296, 0]"]
18["Segment<br>[1302, 1354, 0]"] 20["Segment<br>[1302, 1354, 0]"]
19["Segment<br>[1360, 1402, 0]"] 21["Segment<br>[1360, 1402, 0]"]
20["Segment<br>[1408, 1460, 0]"] 22["Segment<br>[1408, 1460, 0]"]
21["Segment<br>[1466, 1527, 0]"] 23["Segment<br>[1466, 1527, 0]"]
22["Segment<br>[1533, 1586, 0]"] 24["Segment<br>[1533, 1586, 0]"]
23["Segment<br>[1592, 1722, 0]"] 25["Segment<br>[1592, 1722, 0]"]
24["Segment<br>[1728, 1781, 0]"] 26["Segment<br>[1728, 1781, 0]"]
25["Segment<br>[1787, 1826, 0]"] 27["Segment<br>[1787, 1826, 0]"]
26["Segment<br>[1832, 1884, 0]"] 28["Segment<br>[1832, 1884, 0]"]
27["Segment<br>[1890, 1898, 0]"] 29["Segment<br>[1890, 1898, 0]"]
28[Solid2d] 39[Solid2d]
end end
subgraph path30 [Path] subgraph path4 [Path]
30["Path<br>[1931, 1956, 0]"] 4["Path<br>[1931, 1956, 0]"]
31["Segment<br>[1962, 1981, 0]"] 30["Segment<br>[1962, 1981, 0]"]
32["Segment<br>[1987, 2038, 0]"] 31["Segment<br>[1987, 2038, 0]"]
33["Segment<br>[2044, 2086, 0]"] 32["Segment<br>[2044, 2086, 0]"]
34["Segment<br>[2092, 2144, 0]"] 33["Segment<br>[2092, 2144, 0]"]
35["Segment<br>[2150, 2170, 0]"] 34["Segment<br>[2150, 2170, 0]"]
36["Segment<br>[2176, 2229, 0]"] 35["Segment<br>[2176, 2229, 0]"]
37["Segment<br>[2235, 2280, 0]"] 36["Segment<br>[2235, 2280, 0]"]
38["Segment<br>[2286, 2338, 0]"] 37["Segment<br>[2286, 2338, 0]"]
39["Segment<br>[2344, 2352, 0]"] 38["Segment<br>[2344, 2352, 0]"]
40[Solid2d] 40[Solid2d]
end end
1["Plane<br>[399, 416, 0]"] 1["Plane<br>[399, 416, 0]"]
29["Plane<br>[1908, 1925, 0]"] 2["Plane<br>[1908, 1925, 0]"]
41["Sweep Extrusion<br>[2408, 2429, 0]"] 41["Sweep Extrusion<br>[2408, 2429, 0]"]
42[Wall] 42[Wall]
43[Wall] 43[Wall]
@ -72,188 +72,188 @@ flowchart LR
66["Cap Start"] 66["Cap Start"]
67["Cap End"] 67["Cap End"]
68["SweepEdge Opposite"] 68["SweepEdge Opposite"]
69["SweepEdge Adjacent"] 69["SweepEdge Opposite"]
70["SweepEdge Opposite"] 70["SweepEdge Opposite"]
71["SweepEdge Adjacent"] 71["SweepEdge Opposite"]
72["SweepEdge Opposite"] 72["SweepEdge Opposite"]
73["SweepEdge Adjacent"] 73["SweepEdge Opposite"]
74["SweepEdge Opposite"] 74["SweepEdge Opposite"]
75["SweepEdge Adjacent"] 75["SweepEdge Opposite"]
76["SweepEdge Opposite"] 76["SweepEdge Opposite"]
77["SweepEdge Adjacent"] 77["SweepEdge Opposite"]
78["SweepEdge Opposite"] 78["SweepEdge Opposite"]
79["SweepEdge Adjacent"] 79["SweepEdge Opposite"]
80["SweepEdge Opposite"] 80["SweepEdge Opposite"]
81["SweepEdge Adjacent"] 81["SweepEdge Opposite"]
82["SweepEdge Opposite"] 82["SweepEdge Opposite"]
83["SweepEdge Adjacent"] 83["SweepEdge Opposite"]
84["SweepEdge Opposite"] 84["SweepEdge Opposite"]
85["SweepEdge Adjacent"] 85["SweepEdge Opposite"]
86["SweepEdge Opposite"] 86["SweepEdge Opposite"]
87["SweepEdge Adjacent"] 87["SweepEdge Opposite"]
88["SweepEdge Opposite"] 88["SweepEdge Opposite"]
89["SweepEdge Adjacent"] 89["SweepEdge Opposite"]
90["SweepEdge Opposite"] 90["SweepEdge Opposite"]
91["SweepEdge Adjacent"] 91["SweepEdge Opposite"]
92["SweepEdge Opposite"] 92["SweepEdge Adjacent"]
93["SweepEdge Adjacent"] 93["SweepEdge Adjacent"]
94["SweepEdge Opposite"] 94["SweepEdge Adjacent"]
95["SweepEdge Adjacent"] 95["SweepEdge Adjacent"]
96["SweepEdge Opposite"] 96["SweepEdge Adjacent"]
97["SweepEdge Adjacent"] 97["SweepEdge Adjacent"]
98["SweepEdge Opposite"] 98["SweepEdge Adjacent"]
99["SweepEdge Adjacent"] 99["SweepEdge Adjacent"]
100["SweepEdge Opposite"] 100["SweepEdge Adjacent"]
101["SweepEdge Adjacent"] 101["SweepEdge Adjacent"]
102["SweepEdge Opposite"] 102["SweepEdge Adjacent"]
103["SweepEdge Adjacent"] 103["SweepEdge Adjacent"]
104["SweepEdge Opposite"] 104["SweepEdge Adjacent"]
105["SweepEdge Adjacent"] 105["SweepEdge Adjacent"]
106["SweepEdge Opposite"] 106["SweepEdge Adjacent"]
107["SweepEdge Adjacent"] 107["SweepEdge Adjacent"]
108["SweepEdge Opposite"] 108["SweepEdge Adjacent"]
109["SweepEdge Adjacent"] 109["SweepEdge Adjacent"]
110["SweepEdge Opposite"] 110["SweepEdge Adjacent"]
111["SweepEdge Adjacent"] 111["SweepEdge Adjacent"]
112["SweepEdge Opposite"] 112["SweepEdge Adjacent"]
113["SweepEdge Adjacent"] 113["SweepEdge Adjacent"]
114["SweepEdge Opposite"] 114["SweepEdge Adjacent"]
115["SweepEdge Adjacent"] 115["SweepEdge Adjacent"]
1 --- 2 1 --- 3
2 --- 3
2 --- 4 2 --- 4
2 --- 5 3 --- 5
2 --- 6 3 --- 6
2 --- 7 3 --- 7
2 --- 8 3 --- 8
2 --- 9 3 --- 9
2 --- 10 3 --- 10
2 --- 11 3 --- 11
2 --- 12 3 --- 12
2 --- 13 3 --- 13
2 --- 14 3 --- 14
2 --- 15 3 --- 15
2 --- 16 3 --- 16
2 --- 17 3 --- 17
2 --- 18 3 --- 18
2 --- 19 3 --- 19
2 --- 20 3 --- 20
2 --- 21 3 --- 21
2 --- 22 3 --- 22
2 --- 23 3 --- 23
2 --- 24 3 --- 24
2 --- 25 3 --- 25
2 --- 26 3 --- 26
2 --- 27 3 --- 27
2 ---- 41 3 --- 28
2 --- 28 3 --- 29
3 --- 42 3 --- 39
3 --- 68 3 ---- 41
3 --- 69 4 --- 30
3 x--> 66 4 --- 31
4 --- 43 4 --- 32
4 --- 70 4 --- 33
4 --- 71 4 --- 34
4 x--> 66 4 --- 35
5 --- 44 4 --- 36
5 --- 72 4 --- 37
5 --- 73 4 --- 38
4 --- 40
5 --- 61
5 x--> 66 5 x--> 66
6 --- 45 5 --- 84
6 --- 74 5 --- 95
6 --- 75 6 --- 53
6 x--> 66 6 x--> 66
7 --- 46 6 --- 80
7 --- 76 6 --- 114
7 --- 77 7 --- 52
7 x--> 66 7 x--> 66
8 --- 47 7 --- 76
8 --- 78 7 --- 110
8 --- 79 8 --- 57
8 x--> 66 8 x--> 66
8 --- 83
8 --- 113
9 --- 48 9 --- 48
9 --- 80
9 --- 81
9 x--> 66 9 x--> 66
10 --- 49 9 --- 73
10 --- 82 9 --- 93
10 --- 83 10 --- 47
10 x--> 66 10 x--> 66
11 --- 50 10 --- 86
11 --- 84 10 --- 115
11 --- 85 11 --- 60
11 x--> 66 11 x--> 66
12 --- 51 11 --- 74
12 --- 86 11 --- 101
12 --- 87 12 --- 64
12 x--> 66 12 x--> 66
13 --- 52 12 --- 72
13 --- 88 12 --- 104
13 --- 89 13 --- 63
13 x--> 66 13 x--> 66
14 --- 53 13 --- 89
14 --- 90 13 --- 102
14 --- 91 14 --- 45
14 x--> 66 14 x--> 66
15 --- 54 14 --- 70
15 --- 92 14 --- 96
15 --- 93 15 --- 46
15 x--> 66 15 x--> 66
16 --- 55 15 --- 88
16 --- 94 15 --- 107
16 --- 95 16 --- 65
16 x--> 66 16 x--> 66
17 --- 56 16 --- 71
17 --- 96 16 --- 103
17 --- 97 17 --- 58
17 x--> 66 17 x--> 66
18 --- 57 17 --- 87
18 --- 98 17 --- 109
18 --- 99 18 --- 50
18 x--> 66 18 x--> 66
19 --- 58 18 --- 82
19 --- 100 18 --- 108
19 --- 101 19 --- 43
19 x--> 66 19 x--> 66
19 --- 90
19 --- 97
20 --- 59 20 --- 59
20 --- 102
20 --- 103
20 x--> 66 20 x--> 66
21 --- 60 20 --- 69
21 --- 104 20 --- 105
21 --- 105 21 --- 44
21 x--> 66 21 x--> 66
22 --- 61 21 --- 79
22 --- 106 21 --- 98
22 --- 107 22 --- 62
22 x--> 66 22 x--> 66
23 --- 62 22 --- 81
23 --- 108 22 --- 99
23 --- 109 23 --- 42
23 x--> 66 23 x--> 66
24 --- 63 23 --- 91
24 --- 110 23 --- 92
24 --- 111 24 --- 55
24 x--> 66 24 x--> 66
25 --- 64 24 --- 77
25 --- 112 24 --- 112
25 --- 113 25 --- 56
25 x--> 66 25 x--> 66
26 --- 65 25 --- 75
26 --- 114 25 --- 100
26 --- 115 26 --- 51
26 x--> 66 26 x--> 66
29 --- 30 26 --- 78
30 --- 31 26 --- 111
30 --- 32 27 --- 54
30 --- 33 27 x--> 66
30 --- 34 27 --- 68
30 --- 35 27 --- 106
30 --- 36 28 --- 49
30 --- 37 28 x--> 66
30 --- 38 28 --- 85
30 --- 39 28 --- 94
30 --- 40
41 --- 42 41 --- 42
41 --- 43 41 --- 43
41 --- 44 41 --- 44
@ -328,100 +328,100 @@ flowchart LR
41 --- 113 41 --- 113
41 --- 114 41 --- 114
41 --- 115 41 --- 115
68 <--x 42 91 <--x 42
92 <--x 42
99 <--x 42
90 <--x 43
97 <--x 43
108 <--x 43
79 <--x 44
98 <--x 44
105 <--x 44
70 <--x 45
96 <--x 45
102 <--x 45
88 <--x 46
96 <--x 46
107 <--x 46
86 <--x 47
93 <--x 47
115 <--x 47
73 <--x 48
93 <--x 48
113 <--x 48
85 <--x 49
94 <--x 49
106 <--x 49
82 <--x 50
108 <--x 50
109 <--x 50
78 <--x 51
100 <--x 51
111 <--x 51
76 <--x 52
110 <--x 52
114 <--x 52
80 <--x 53
95 <--x 53
114 <--x 53
68 <--x 54
106 <--x 54
111 <--x 54
77 <--x 55
92 <--x 55
112 <--x 55
75 <--x 56
100 <--x 56
112 <--x 56
83 <--x 57
110 <--x 57
113 <--x 57
87 <--x 58
103 <--x 58
109 <--x 58
69 <--x 59
97 <--x 59
105 <--x 59
74 <--x 60
101 <--x 60
115 <--x 60
84 <--x 61
94 <--x 61
95 <--x 61
81 <--x 62
98 <--x 62
99 <--x 62
89 <--x 63
102 <--x 63
104 <--x 63
72 <--x 64
101 <--x 64
104 <--x 64
71 <--x 65
103 <--x 65
107 <--x 65
68 <--x 67 68 <--x 67
69 <--x 42 69 <--x 67
69 <--x 43
70 <--x 43
70 <--x 67 70 <--x 67
71 <--x 43 71 <--x 67
71 <--x 44
72 <--x 44
72 <--x 67 72 <--x 67
73 <--x 44 73 <--x 67
73 <--x 45
74 <--x 45
74 <--x 67 74 <--x 67
75 <--x 45 75 <--x 67
75 <--x 46
76 <--x 46
76 <--x 67 76 <--x 67
77 <--x 46 77 <--x 67
77 <--x 47
78 <--x 47
78 <--x 67 78 <--x 67
79 <--x 47 79 <--x 67
79 <--x 48
80 <--x 48
80 <--x 67 80 <--x 67
81 <--x 48 81 <--x 67
81 <--x 49
82 <--x 49
82 <--x 67 82 <--x 67
83 <--x 49 83 <--x 67
83 <--x 50
84 <--x 50
84 <--x 67 84 <--x 67
85 <--x 50 85 <--x 67
85 <--x 51
86 <--x 51
86 <--x 67 86 <--x 67
87 <--x 51 87 <--x 67
87 <--x 52
88 <--x 52
88 <--x 67 88 <--x 67
89 <--x 52 89 <--x 67
89 <--x 53
90 <--x 53
90 <--x 67 90 <--x 67
91 <--x 53 91 <--x 67
91 <--x 54
92 <--x 54
92 <--x 67
93 <--x 54
93 <--x 55
94 <--x 55
94 <--x 67
95 <--x 55
95 <--x 56
96 <--x 56
96 <--x 67
97 <--x 56
97 <--x 57
98 <--x 57
98 <--x 67
99 <--x 57
99 <--x 58
100 <--x 58
100 <--x 67
101 <--x 58
101 <--x 59
102 <--x 59
102 <--x 67
103 <--x 59
103 <--x 60
104 <--x 60
104 <--x 67
105 <--x 60
105 <--x 61
106 <--x 61
106 <--x 67
107 <--x 61
107 <--x 62
108 <--x 62
108 <--x 67
109 <--x 62
109 <--x 63
110 <--x 63
110 <--x 67
111 <--x 63
111 <--x 64
112 <--x 64
112 <--x 67
113 <--x 64
113 <--x 65
114 <--x 65
114 <--x 67
115 <--x 42
115 <--x 65
``` ```

View File

@ -5571141,6 +5571141,14 @@ description: Artifact commands import_async.kcl
"hide": true "hide": true
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "close_path",
"path_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -5571157,33 +5571165,6 @@ description: Artifact commands import_async.kcl
} }
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "move_path_pen",
"path": "[uuid]",
"to": {
"x": 4.933386259126019,
"y": 0.0,
"z": 0.0
}
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "sketch_mode_disable"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -5571213,8 +5571194,27 @@ description: Artifact commands import_async.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "close_path", "type": "move_path_pen",
"path_id": "[uuid]" "path": "[uuid]",
"to": {
"x": 4.933386259126019,
"y": 0.0,
"z": 0.0
}
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "sketch_mode_disable"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
} }
}, },
{ {
@ -5571244,13 +5571244,6 @@ description: Artifact commands import_async.kcl
"opposite": "None" "opposite": "None"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "sketch_mode_disable"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -5571259,6 +5571252,40 @@ description: Artifact commands import_async.kcl
"object_id": "[uuid]" "object_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "sketch_mode_disable"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -5571268,34 +5571295,6 @@ description: Artifact commands import_async.kcl
"edge_id": "[uuid]" "edge_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -5571310,77 +5571309,10 @@ description: Artifact commands import_async.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]" "edge_id": "[uuid]",
} "face_id": "[uuid]"
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "make_plane",
"origin": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"x_axis": {
"x": 1.0,
"y": 0.0,
"z": 0.0
},
"y_axis": {
"x": 0.0,
"y": 1.0,
"z": 0.0
},
"size": 60.0,
"clobber": false,
"hide": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "enable_sketch_mode",
"entity_id": "[uuid]",
"ortho": false,
"animated": false,
"adjust_camera": false,
"planar_normal": {
"x": 0.0,
"y": 0.0,
"z": 1.0
}
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "move_path_pen",
"path": "[uuid]",
"to": {
"x": 5.7399134909054,
"y": 0.340430781396414,
"z": 0.0
}
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "sketch_mode_disable"
} }
}, },
{ {
@ -5573100,31 +5573032,6 @@ description: Artifact commands import_async.kcl
} }
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "extend_path",
"path": "[uuid]",
"segment": {
"type": "arc",
"center": {
"x": -0.0,
"y": -0.0
},
"radius": 4.933386259126019,
"start": {
"unit": "degrees",
"value": 0.0
},
"end": {
"unit": "degrees",
"value": 11.428571428571429
},
"relative": false
}
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -5574842,6 +5574749,99 @@ description: Artifact commands import_async.kcl
} }
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "make_plane",
"origin": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"x_axis": {
"x": 1.0,
"y": 0.0,
"z": 0.0
},
"y_axis": {
"x": 0.0,
"y": 1.0,
"z": 0.0
},
"size": 60.0,
"clobber": false,
"hide": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "enable_sketch_mode",
"entity_id": "[uuid]",
"ortho": false,
"animated": false,
"adjust_camera": false,
"planar_normal": {
"x": 0.0,
"y": 0.0,
"z": 1.0
}
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "move_path_pen",
"path": "[uuid]",
"to": {
"x": 5.7399134909054,
"y": 0.340430781396414,
"z": 0.0
}
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "sketch_mode_disable"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "extend_path",
"path": "[uuid]",
"segment": {
"type": "arc",
"center": {
"x": -0.0,
"y": -0.0
},
"radius": 4.933386259126019,
"start": {
"unit": "degrees",
"value": 0.0
},
"end": {
"unit": "degrees",
"value": 11.428571428571429
},
"relative": false
}
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -5574881,15 +5574881,15 @@ description: Artifact commands import_async.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "sketch_mode_disable" "type": "object_bring_to_front",
"object_id": "[uuid]"
} }
}, },
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "object_bring_to_front", "type": "sketch_mode_disable"
"object_id": "[uuid]"
} }
}, },
{ {
@ -5574934,13 +5574934,6 @@ description: Artifact commands import_async.kcl
"planar_normal": null "planar_normal": null
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -5574961,6 +5574954,13 @@ description: Artifact commands import_async.kcl
"type": "sketch_mode_disable" "type": "sketch_mode_disable"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -5575093,6 +5575093,14 @@ description: Artifact commands import_async.kcl
"opposite": "None" "opposite": "None"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -5575104,8 +5575112,108 @@ description: Artifact commands import_async.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "object_bring_to_front", "type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]" "object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
} }
}, },
{ {
@ -5575121,30 +5575229,12 @@ description: Artifact commands import_async.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -5575159,39 +5575249,12 @@ description: Artifact commands import_async.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -5575206,18 +5575269,10 @@ description: Artifact commands import_async.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]" "edge_id": "[uuid]",
} "face_id": "[uuid]"
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
} }
}, },
{ {
@ -5575230,43 +5575285,6 @@ description: Artifact commands import_async.kcl
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -5575281,30 +5575299,12 @@ description: Artifact commands import_async.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],

View File

@ -1,12 +1,17 @@
```mermaid ```mermaid
flowchart LR flowchart LR
subgraph path3 [Path] subgraph path5 [Path]
3["Path<br>[1109, 1159, 0]"] 5["Path<br>[1109, 1159, 0]"]
4["Segment<br>[1109, 1159, 0]"] 8["Segment<br>[1109, 1159, 0]"]
5[Solid2d] 220[Solid2d]
end end
subgraph path13 [Path] subgraph path6 [Path]
13["Path<br>[1664, 1701, 0]"] 6["Path<br>[1664, 1701, 0]"]
9["Segment<br>[1324, 1362, 0]"]
10["Segment<br>[1324, 1362, 0]"]
11["Segment<br>[1324, 1362, 0]"]
12["Segment<br>[1324, 1362, 0]"]
13["Segment<br>[1324, 1362, 0]"]
14["Segment<br>[1324, 1362, 0]"] 14["Segment<br>[1324, 1362, 0]"]
15["Segment<br>[1324, 1362, 0]"] 15["Segment<br>[1324, 1362, 0]"]
16["Segment<br>[1324, 1362, 0]"] 16["Segment<br>[1324, 1362, 0]"]
@ -103,12 +108,12 @@ flowchart LR
107["Segment<br>[1324, 1362, 0]"] 107["Segment<br>[1324, 1362, 0]"]
108["Segment<br>[1324, 1362, 0]"] 108["Segment<br>[1324, 1362, 0]"]
109["Segment<br>[1324, 1362, 0]"] 109["Segment<br>[1324, 1362, 0]"]
110["Segment<br>[1324, 1362, 0]"] 110["Segment<br>[1580, 1610, 0]"]
111["Segment<br>[1324, 1362, 0]"] 111["Segment<br>[1580, 1610, 0]"]
112["Segment<br>[1324, 1362, 0]"] 112["Segment<br>[1580, 1610, 0]"]
113["Segment<br>[1324, 1362, 0]"] 113["Segment<br>[1580, 1610, 0]"]
114["Segment<br>[1324, 1362, 0]"] 114["Segment<br>[1580, 1610, 0]"]
115["Segment<br>[1767, 1865, 0]"] 115["Segment<br>[1580, 1610, 0]"]
116["Segment<br>[1580, 1610, 0]"] 116["Segment<br>[1580, 1610, 0]"]
117["Segment<br>[1580, 1610, 0]"] 117["Segment<br>[1580, 1610, 0]"]
118["Segment<br>[1580, 1610, 0]"] 118["Segment<br>[1580, 1610, 0]"]
@ -204,324 +209,319 @@ flowchart LR
208["Segment<br>[1580, 1610, 0]"] 208["Segment<br>[1580, 1610, 0]"]
209["Segment<br>[1580, 1610, 0]"] 209["Segment<br>[1580, 1610, 0]"]
210["Segment<br>[1580, 1610, 0]"] 210["Segment<br>[1580, 1610, 0]"]
211["Segment<br>[1580, 1610, 0]"] 211["Segment<br>[1767, 1865, 0]"]
212["Segment<br>[1580, 1610, 0]"] 212["Segment<br>[1925, 1932, 0]"]
213["Segment<br>[1580, 1610, 0]"] 219[Solid2d]
214["Segment<br>[1580, 1610, 0]"]
215["Segment<br>[1580, 1610, 0]"]
216["Segment<br>[1580, 1610, 0]"]
217["Segment<br>[1925, 1932, 0]"]
218[Solid2d]
end end
subgraph path220 [Path] subgraph path7 [Path]
220["Path<br>[2413, 2492, 0]"] 7["Path<br>[2413, 2492, 0]"]
221["Segment<br>[2498, 2525, 0]"] 213["Segment<br>[2498, 2525, 0]"]
222["Segment<br>[2531, 2559, 0]"] 214["Segment<br>[2531, 2559, 0]"]
223["Segment<br>[2565, 2593, 0]"] 215["Segment<br>[2565, 2593, 0]"]
224["Segment<br>[2599, 2722, 0]"] 216["Segment<br>[2599, 2722, 0]"]
225["Segment<br>[2728, 2840, 0]"] 217["Segment<br>[2728, 2840, 0]"]
226["Segment<br>[2846, 2853, 0]"] 218["Segment<br>[2846, 2853, 0]"]
227[Solid2d] 221[Solid2d]
end end
1["Plane<br>[168, 185, 0]"] 1["Plane<br>[168, 185, 0]"]
2["Plane<br>[1086, 1103, 0]"] 2["Plane<br>[1086, 1103, 0]"]
6["Sweep Extrusion<br>[1165, 1193, 0]"] 3["Plane<br>[1641, 1658, 0]"]
7[Wall] 4["StartSketchOnFace<br>[2376, 2407, 0]"]
8["Cap Start"] 222["Sweep Extrusion<br>[1165, 1193, 0]"]
9["Cap End"] 223["Sweep Extrusion<br>[1938, 1966, 0]"]
10["SweepEdge Opposite"] 224["Sweep Extrusion<br>[2859, 2888, 0]"]
11["SweepEdge Adjacent"] 225[Wall]
12["Plane<br>[1641, 1658, 0]"] 226[Wall]
219["Sweep Extrusion<br>[1938, 1966, 0]"] 227[Wall]
228["Sweep Extrusion<br>[2859, 2888, 0]"] 228[Wall]
229[Wall] 229[Wall]
230[Wall] 230["Cap Start"]
231[Wall] 231["Cap End"]
232[Wall] 232["SweepEdge Opposite"]
233["SweepEdge Opposite"] 233["SweepEdge Opposite"]
234["SweepEdge Adjacent"] 234["SweepEdge Opposite"]
235["SweepEdge Opposite"] 235["SweepEdge Opposite"]
236["SweepEdge Adjacent"] 236["SweepEdge Opposite"]
237["SweepEdge Opposite"] 237["SweepEdge Adjacent"]
238["SweepEdge Adjacent"] 238["SweepEdge Adjacent"]
239["SweepEdge Opposite"] 239["SweepEdge Adjacent"]
240["SweepEdge Adjacent"] 240["SweepEdge Adjacent"]
241["StartSketchOnFace<br>[2376, 2407, 0]"] 241["SweepEdge Adjacent"]
2 --- 3 2 --- 5
3 --- 4 3 --- 6
3 ---- 6 231 x--> 4
3 --- 5 5 --- 8
4 --- 7 5 --- 220
4 --- 10 5 ---- 222
4 --- 11
4 x--> 8
6 --- 7
6 --- 8
6 --- 9 6 --- 9
6 --- 10 6 --- 10
6 --- 11 6 --- 11
9 --- 220 6 --- 12
10 <--x 7 6 --- 13
10 <--x 9 6 --- 14
11 <--x 7 6 --- 15
12 --- 13 6 --- 16
13 --- 14 6 --- 17
13 --- 15 6 --- 18
13 --- 16 6 --- 19
13 --- 17 6 --- 20
13 --- 18 6 --- 21
13 --- 19 6 --- 22
13 --- 20 6 --- 23
13 --- 21 6 --- 24
13 --- 22 6 --- 25
13 --- 23 6 --- 26
13 --- 24 6 --- 27
13 --- 25 6 --- 28
13 --- 26 6 --- 29
13 --- 27 6 --- 30
13 --- 28 6 --- 31
13 --- 29 6 --- 32
13 --- 30 6 --- 33
13 --- 31 6 --- 34
13 --- 32 6 --- 35
13 --- 33 6 --- 36
13 --- 34 6 --- 37
13 --- 35 6 --- 38
13 --- 36 6 --- 39
13 --- 37 6 --- 40
13 --- 38 6 --- 41
13 --- 39 6 --- 42
13 --- 40 6 --- 43
13 --- 41 6 --- 44
13 --- 42 6 --- 45
13 --- 43 6 --- 46
13 --- 44 6 --- 47
13 --- 45 6 --- 48
13 --- 46 6 --- 49
13 --- 47 6 --- 50
13 --- 48 6 --- 51
13 --- 49 6 --- 52
13 --- 50 6 --- 53
13 --- 51 6 --- 54
13 --- 52 6 --- 55
13 --- 53 6 --- 56
13 --- 54 6 --- 57
13 --- 55 6 --- 58
13 --- 56 6 --- 59
13 --- 57 6 --- 60
13 --- 58 6 --- 61
13 --- 59 6 --- 62
13 --- 60 6 --- 63
13 --- 61 6 --- 64
13 --- 62 6 --- 65
13 --- 63 6 --- 66
13 --- 64 6 --- 67
13 --- 65 6 --- 68
13 --- 66 6 --- 69
13 --- 67 6 --- 70
13 --- 68 6 --- 71
13 --- 69 6 --- 72
13 --- 70 6 --- 73
13 --- 71 6 --- 74
13 --- 72 6 --- 75
13 --- 73 6 --- 76
13 --- 74 6 --- 77
13 --- 75 6 --- 78
13 --- 76 6 --- 79
13 --- 77 6 --- 80
13 --- 78 6 --- 81
13 --- 79 6 --- 82
13 --- 80 6 --- 83
13 --- 81 6 --- 84
13 --- 82 6 --- 85
13 --- 83 6 --- 86
13 --- 84 6 --- 87
13 --- 85 6 --- 88
13 --- 86 6 --- 89
13 --- 87 6 --- 90
13 --- 88 6 --- 91
13 --- 89 6 --- 92
13 --- 90 6 --- 93
13 --- 91 6 --- 94
13 --- 92 6 --- 95
13 --- 93 6 --- 96
13 --- 94 6 --- 97
13 --- 95 6 --- 98
13 --- 96 6 --- 99
13 --- 97 6 --- 100
13 --- 98 6 --- 101
13 --- 99 6 --- 102
13 --- 100 6 --- 103
13 --- 101 6 --- 104
13 --- 102 6 --- 105
13 --- 103 6 --- 106
13 --- 104 6 --- 107
13 --- 105 6 --- 108
13 --- 106 6 --- 109
13 --- 107 6 --- 110
13 --- 108 6 --- 111
13 --- 109 6 --- 112
13 --- 110 6 --- 113
13 --- 111 6 --- 114
13 --- 112 6 --- 115
13 --- 113 6 --- 116
13 --- 114 6 --- 117
13 --- 115 6 --- 118
13 --- 116 6 --- 119
13 --- 117 6 --- 120
13 --- 118 6 --- 121
13 --- 119 6 --- 122
13 --- 120 6 --- 123
13 --- 121 6 --- 124
13 --- 122 6 --- 125
13 --- 123 6 --- 126
13 --- 124 6 --- 127
13 --- 125 6 --- 128
13 --- 126 6 --- 129
13 --- 127 6 --- 130
13 --- 128 6 --- 131
13 --- 129 6 --- 132
13 --- 130 6 --- 133
13 --- 131 6 --- 134
13 --- 132 6 --- 135
13 --- 133 6 --- 136
13 --- 134 6 --- 137
13 --- 135 6 --- 138
13 --- 136 6 --- 139
13 --- 137 6 --- 140
13 --- 138 6 --- 141
13 --- 139 6 --- 142
13 --- 140 6 --- 143
13 --- 141 6 --- 144
13 --- 142 6 --- 145
13 --- 143 6 --- 146
13 --- 144 6 --- 147
13 --- 145 6 --- 148
13 --- 146 6 --- 149
13 --- 147 6 --- 150
13 --- 148 6 --- 151
13 --- 149 6 --- 152
13 --- 150 6 --- 153
13 --- 151 6 --- 154
13 --- 152 6 --- 155
13 --- 153 6 --- 156
13 --- 154 6 --- 157
13 --- 155 6 --- 158
13 --- 156 6 --- 159
13 --- 157 6 --- 160
13 --- 158 6 --- 161
13 --- 159 6 --- 162
13 --- 160 6 --- 163
13 --- 161 6 --- 164
13 --- 162 6 --- 165
13 --- 163 6 --- 166
13 --- 164 6 --- 167
13 --- 165 6 --- 168
13 --- 166 6 --- 169
13 --- 167 6 --- 170
13 --- 168 6 --- 171
13 --- 169 6 --- 172
13 --- 170 6 --- 173
13 --- 171 6 --- 174
13 --- 172 6 --- 175
13 --- 173 6 --- 176
13 --- 174 6 --- 177
13 --- 175 6 --- 178
13 --- 176 6 --- 179
13 --- 177 6 --- 180
13 --- 178 6 --- 181
13 --- 179 6 --- 182
13 --- 180 6 --- 183
13 --- 181 6 --- 184
13 --- 182 6 --- 185
13 --- 183 6 --- 186
13 --- 184 6 --- 187
13 --- 185 6 --- 188
13 --- 186 6 --- 189
13 --- 187 6 --- 190
13 --- 188 6 --- 191
13 --- 189 6 --- 192
13 --- 190 6 --- 193
13 --- 191 6 --- 194
13 --- 192 6 --- 195
13 --- 193 6 --- 196
13 --- 194 6 --- 197
13 --- 195 6 --- 198
13 --- 196 6 --- 199
13 --- 197 6 --- 200
13 --- 198 6 --- 201
13 --- 199 6 --- 202
13 --- 200 6 --- 203
13 --- 201 6 --- 204
13 --- 202 6 --- 205
13 --- 203 6 --- 206
13 --- 204 6 --- 207
13 --- 205 6 --- 208
13 --- 206 6 --- 209
13 --- 207 6 --- 210
13 --- 208 6 --- 211
13 --- 209 6 --- 212
13 --- 210 6 --- 219
13 --- 211 6 ---- 223
13 --- 212 7 --- 213
13 --- 213 7 --- 214
13 --- 214 7 --- 215
13 --- 215 7 --- 216
13 --- 216 7 --- 217
13 --- 217 7 --- 218
13 ---- 219 7 --- 221
13 --- 218 7 ---- 224
220 --- 221 231 --- 7
220 --- 222 8 --- 225
220 --- 223 8 x--> 230
220 --- 224 8 --- 232
220 --- 225 8 --- 237
220 --- 226 213 --- 228
220 ---- 228 213 x--> 231
220 --- 227 213 --- 234
221 --- 232 213 --- 241
221 --- 239 214 --- 227
221 --- 240 214 x--> 231
221 <--x 9 214 --- 235
214 --- 240
215 --- 226
215 x--> 231
215 --- 236
215 --- 239
217 --- 229
217 x--> 231
217 --- 233
217 --- 238
222 --- 225
222 --- 230
222 --- 231 222 --- 231
222 --- 232
222 --- 237 222 --- 237
222 --- 238 224 --- 226
222 <--x 9 224 --- 227
223 --- 230 224 --- 228
223 --- 235 224 --- 229
223 --- 236 224 --- 233
223 <--x 9 224 --- 234
225 --- 229 224 --- 235
225 --- 233 224 --- 236
225 --- 234 224 --- 238
225 <--x 9 224 --- 239
228 --- 229 224 --- 240
228 --- 230 224 --- 241
228 --- 231 232 <--x 225
228 --- 232 237 <--x 225
228 --- 233 236 <--x 226
228 --- 234 239 <--x 226
228 --- 235 240 <--x 226
228 --- 236 235 <--x 227
228 --- 237 240 <--x 227
228 --- 238 241 <--x 227
228 --- 239 234 <--x 228
228 --- 240 238 <--x 228
241 <--x 228
233 <--x 229 233 <--x 229
233 <--x 8 238 <--x 229
234 <--x 229 239 <--x 229
234 <--x 232 233 <--x 230
234 <--x 230
235 <--x 230 235 <--x 230
235 <--x 8
236 <--x 229
236 <--x 230 236 <--x 230
237 <--x 231 232 <--x 231
237 <--x 8
238 <--x 230
238 <--x 231
239 <--x 232
239 <--x 8
240 <--x 231
240 <--x 232
9 <--x 241
``` ```

File diff suppressed because it is too large Load Diff

View File

@ -2,31 +2,4 @@
source: kcl-lib/src/simulation_tests.rs source: kcl-lib/src/simulation_tests.rs
description: Artifact commands import_cycle1.kcl description: Artifact commands import_cycle1.kcl
--- ---
[ []
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "edge_lines_visible",
"hidden": false
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_visible",
"object_id": "[uuid]",
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_visible",
"object_id": "[uuid]",
"hidden": true
}
}
]

View File

@ -2,15 +2,13 @@
source: kcl-lib/src/simulation_tests.rs source: kcl-lib/src/simulation_tests.rs
description: Error from executing import_cycle1.kcl description: Error from executing import_cycle1.kcl
--- ---
KCL ImportCycle error KCL Internal error
× import cycle: circular import of modules is not allowed: tests/ × internal: Module tests/import_cycle1/input.kcl not found in universe
│ import_cycle1/import_cycle2.kcl -> tests/import_cycle1/import_cycle3.kcl
│ -> tests/import_cycle1/input.kcl
╭─[3:1] ╭─[3:1]
2 │ 2 │
3 │ import two from "import_cycle2.kcl" 3 │ import one from "input.kcl"
· ─────────────────┬───────────────── · ──────────────────────────
· ╰── tests/import_cycle1/input.kcl · ╰── tests/import_cycle1/import_cycle3.kcl
4 │ 4 │
╰──── ╰────

View File

@ -2,31 +2,4 @@
source: kcl-lib/src/simulation_tests.rs source: kcl-lib/src/simulation_tests.rs
description: Artifact commands import_file_not_exist_error.kcl description: Artifact commands import_file_not_exist_error.kcl
--- ---
[ []
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "edge_lines_visible",
"hidden": false
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_visible",
"object_id": "[uuid]",
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_visible",
"object_id": "[uuid]",
"hidden": true
}
}
]

View File

@ -2,31 +2,4 @@
source: kcl-lib/src/simulation_tests.rs source: kcl-lib/src/simulation_tests.rs
description: Artifact commands import_file_parse_error.kcl description: Artifact commands import_file_parse_error.kcl
--- ---
[ []
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "edge_lines_visible",
"hidden": false
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_visible",
"object_id": "[uuid]",
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_visible",
"object_id": "[uuid]",
"hidden": true
}
}
]

View File

@ -70,13 +70,6 @@ description: Artifact commands import_function_not_sketch.kcl
} }
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -97,6 +90,13 @@ description: Artifact commands import_function_not_sketch.kcl
"type": "sketch_mode_disable" "type": "sketch_mode_disable"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -224,6 +224,14 @@ description: Artifact commands import_function_not_sketch.kcl
"path_id": "[uuid]" "path_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -253,8 +261,216 @@ description: Artifact commands import_function_not_sketch.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "object_bring_to_front", "type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]" "object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
} }
}, },
{ {
@ -270,30 +486,12 @@ description: Artifact commands import_function_not_sketch.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -308,39 +506,12 @@ description: Artifact commands import_function_not_sketch.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -355,39 +526,12 @@ description: Artifact commands import_function_not_sketch.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -402,39 +546,12 @@ description: Artifact commands import_function_not_sketch.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -449,18 +566,10 @@ description: Artifact commands import_function_not_sketch.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]" "edge_id": "[uuid]",
} "face_id": "[uuid]"
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
} }
}, },
{ {
@ -477,39 +586,12 @@ description: Artifact commands import_function_not_sketch.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -524,39 +606,12 @@ description: Artifact commands import_function_not_sketch.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -567,43 +622,6 @@ description: Artifact commands import_function_not_sketch.kcl
"face_id": "[uuid]" "face_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -618,28 +636,10 @@ description: Artifact commands import_function_not_sketch.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]", "edge_id": "[uuid]",
"face_id": "[uuid]" "face_id": "[uuid]"
} }
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
} }
] ]

View File

@ -38,24 +38,32 @@ flowchart LR
2 --- 8 2 --- 8
2 --- 9 2 --- 9
2 --- 10 2 --- 10
2 ---- 12
2 --- 11 2 --- 11
3 --- 13 2 ---- 12
3 x--> 21 12 <--x 3
4 --- 14 3 --- 15
4 --- 21 3 x--> 26
5 --- 15 12 <--x 4
4 --- 18
4 --- 26
12 <--x 5
5 --- 20
5 --- 22 5 --- 22
6 --- 16 12 <--x 6
6 --- 23 6 --- 13
7 --- 17 6 --- 24
7 --- 24 12 <--x 7
8 --- 18 7 --- 16
8 --- 25 7 --- 21
9 --- 19 12 <--x 8
9 --- 26 8 --- 17
10 --- 20 8 --- 23
10 --- 27 12 <--x 9
9 --- 14
9 --- 27
12 <--x 10
10 --- 19
10 --- 25
12 --- 13 12 --- 13
12 --- 14 12 --- 14
12 --- 15 12 --- 15
@ -64,33 +72,25 @@ flowchart LR
12 --- 18 12 --- 18
12 --- 19 12 --- 19
12 --- 20 12 --- 20
12 <--x 3
12 --- 21 12 --- 21
12 <--x 4
12 <--x 5
12 --- 22 12 --- 22
12 <--x 6
12 --- 23 12 --- 23
12 <--x 7
12 --- 24 12 --- 24
12 <--x 8
12 --- 25 12 --- 25
12 <--x 9
12 --- 26 12 --- 26
12 <--x 10
12 --- 27 12 --- 27
21 <--x 13 22 <--x 13
21 <--x 14 24 <--x 13
22 <--x 15 23 <--x 14
22 <--x 16 27 <--x 14
23 <--x 16 25 <--x 15
26 <--x 15
21 <--x 16
24 <--x 16
21 <--x 17
23 <--x 17 23 <--x 17
24 <--x 17 26 <--x 18
24 <--x 18
25 <--x 18
25 <--x 19 25 <--x 19
26 <--x 19 27 <--x 19
26 <--x 20 22 <--x 20
27 <--x 20
27 <--x 13
``` ```

View File

@ -2,106 +2,4 @@
source: kcl-lib/src/simulation_tests.rs source: kcl-lib/src/simulation_tests.rs
description: Operations executed import_function_not_sketch.kcl description: Operations executed import_function_not_sketch.kcl
--- ---
[ []
{
"labeledArgs": {
"planeOrSolid": {
"value": {
"type": "Plane",
"artifact_id": "[uuid]"
},
"sourceRange": []
}
},
"name": "startSketchOn",
"sourceRange": [],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"type": "KclStdLibCall",
"name": "revolve",
"unlabeledArg": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": []
},
"labeledArgs": {
"axis": {
"value": {
"type": "Object",
"value": {
"direction": {
"type": "Array",
"value": [
{
"type": "Number",
"value": 0.0,
"ty": {
"type": "Default",
"len": {
"type": "Mm"
},
"angle": {
"type": "Degrees"
}
}
},
{
"type": "Number",
"value": 1.0,
"ty": {
"type": "Default",
"len": {
"type": "Mm"
},
"angle": {
"type": "Degrees"
}
}
}
]
},
"origin": {
"type": "Array",
"value": [
{
"type": "Number",
"value": 0.0,
"ty": {
"type": "Default",
"len": {
"type": "Mm"
},
"angle": {
"type": "Degrees"
}
}
},
{
"type": "Number",
"value": 0.0,
"ty": {
"type": "Default",
"len": {
"type": "Mm"
},
"angle": {
"type": "Degrees"
}
}
}
]
}
}
},
"sourceRange": []
}
},
"sourceRange": []
}
]

View File

@ -54,6 +54,14 @@ description: Artifact commands import_side_effect.kcl
"hide": true "hide": true
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "close_path",
"path_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -70,33 +78,6 @@ description: Artifact commands import_side_effect.kcl
} }
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "move_path_pen",
"path": "[uuid]",
"to": {
"x": 10.0,
"y": 0.0,
"z": 0.0
}
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "sketch_mode_disable"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -126,8 +107,27 @@ description: Artifact commands import_side_effect.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "close_path", "type": "move_path_pen",
"path_id": "[uuid]" "path": "[uuid]",
"to": {
"x": 10.0,
"y": 0.0,
"z": 0.0
}
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "sketch_mode_disable"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
} }
} }
] ]

View File

@ -2,20 +2,4 @@
source: kcl-lib/src/simulation_tests.rs source: kcl-lib/src/simulation_tests.rs
description: Operations executed import_side_effect.kcl description: Operations executed import_side_effect.kcl
--- ---
[ []
{
"labeledArgs": {
"planeOrSolid": {
"value": {
"type": "String",
"value": "XY"
},
"sourceRange": []
}
},
"name": "startSketchOn",
"sourceRange": [],
"type": "StdLibCall",
"unlabeledArg": null
}
]

View File

@ -78,6 +78,14 @@ description: Artifact commands import_whole.kcl
"hide": true "hide": true
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "close_path",
"path_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -94,33 +102,6 @@ description: Artifact commands import_whole.kcl
} }
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "move_path_pen",
"path": "[uuid]",
"to": {
"x": 381.0,
"y": 127.0,
"z": 0.0
}
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "sketch_mode_disable"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -150,8 +131,27 @@ description: Artifact commands import_whole.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "close_path", "type": "move_path_pen",
"path_id": "[uuid]" "path": "[uuid]",
"to": {
"x": 381.0,
"y": 127.0,
"z": 0.0
}
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "sketch_mode_disable"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
} }
}, },
{ {
@ -181,13 +181,6 @@ description: Artifact commands import_whole.kcl
"opposite": "None" "opposite": "None"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "sketch_mode_disable"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -196,6 +189,40 @@ description: Artifact commands import_whole.kcl
"object_id": "[uuid]" "object_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "sketch_mode_disable"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -205,34 +232,6 @@ description: Artifact commands import_whole.kcl
"edge_id": "[uuid]" "edge_id": "[uuid]"
} }
}, },
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{ {
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
@ -247,9 +246,10 @@ description: Artifact commands import_whole.kcl
"cmdId": "[uuid]", "cmdId": "[uuid]",
"range": [], "range": [],
"command": { "command": {
"type": "solid3d_get_all_edge_faces", "type": "solid3d_get_opposite_edge",
"object_id": "[uuid]", "object_id": "[uuid]",
"edge_id": "[uuid]" "edge_id": "[uuid]",
"face_id": "[uuid]"
} }
} }
] ]

View File

@ -14,18 +14,18 @@ flowchart LR
10["SweepEdge Adjacent"] 10["SweepEdge Adjacent"]
1 --- 2 1 --- 2
2 --- 3 2 --- 3
2 ---- 5
2 --- 4 2 --- 4
2 ---- 5
3 --- 6 3 --- 6
3 x--> 7
3 --- 9 3 --- 9
3 --- 10 3 --- 10
3 x--> 7
5 --- 6 5 --- 6
5 --- 7 5 --- 7
5 --- 8 5 --- 8
5 --- 9 5 --- 9
5 --- 10 5 --- 10
9 <--x 6 9 <--x 6
9 <--x 8
10 <--x 6 10 <--x 6
9 <--x 8
``` ```

View File

@ -12,53 +12,6 @@ description: Operations executed import_whole.kcl
}, },
"sourceRange": [] "sourceRange": []
}, },
{
"labeledArgs": {
"planeOrSolid": {
"value": {
"type": "Plane",
"artifact_id": "[uuid]"
},
"sourceRange": []
}
},
"name": "startSketchOn",
"sourceRange": [],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"labeledArgs": {
"length": {
"value": {
"type": "Number",
"value": 10.0,
"ty": {
"type": "Default",
"len": {
"type": "Inches"
},
"angle": {
"type": "Degrees"
}
}
},
"sourceRange": []
}
},
"name": "extrude",
"sourceRange": [],
"type": "StdLibCall",
"unlabeledArg": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
},
"sourceRange": []
}
},
{ {
"type": "GroupEnd" "type": "GroupEnd"
} }

File diff suppressed because it is too large Load Diff

View File

@ -1,160 +1,160 @@
```mermaid ```mermaid
flowchart LR flowchart LR
subgraph path2 [Path] subgraph path3 [Path]
2["Path<br>[58, 113, 0]"] 3["Path<br>[58, 113, 0]"]
3["Segment<br>[121, 177, 0]"] 5["Segment<br>[121, 177, 0]"]
4["Segment<br>[185, 241, 0]"] 8["Segment<br>[185, 241, 0]"]
5["Segment<br>[249, 305, 0]"] 10["Segment<br>[249, 305, 0]"]
6["Segment<br>[313, 320, 0]"] 11["Segment<br>[313, 320, 0]"]
7[Solid2d] 13[Solid2d]
end end
subgraph path24 [Path] subgraph path4 [Path]
24["Path<br>[58, 113, 0]"] 4["Path<br>[58, 113, 0]"]
25["Segment<br>[121, 177, 0]"] 6["Segment<br>[121, 177, 0]"]
26["Segment<br>[185, 241, 0]"] 7["Segment<br>[185, 241, 0]"]
27["Segment<br>[249, 305, 0]"] 9["Segment<br>[249, 305, 0]"]
28["Segment<br>[313, 320, 0]"] 12["Segment<br>[313, 320, 0]"]
29[Solid2d] 14[Solid2d]
end end
1["Plane<br>[33, 50, 0]"] 1["Plane<br>[33, 50, 0]"]
8["Sweep Extrusion<br>[328, 354, 0]"] 2["Plane<br>[33, 50, 0]"]
9[Wall] 15["Sweep Extrusion<br>[328, 354, 0]"]
10[Wall] 16["Sweep Extrusion<br>[328, 354, 0]"]
11[Wall] 17["CompositeSolid Intersect<br>[448, 477, 0]"]
12[Wall] 18[Wall]
13["Cap Start"] 19[Wall]
14["Cap End"] 20[Wall]
15["SweepEdge Opposite"] 21[Wall]
16["SweepEdge Adjacent"] 22[Wall]
17["SweepEdge Opposite"] 23[Wall]
18["SweepEdge Adjacent"] 24[Wall]
19["SweepEdge Opposite"] 25[Wall]
20["SweepEdge Adjacent"] 26["Cap Start"]
21["SweepEdge Opposite"] 27["Cap Start"]
22["SweepEdge Adjacent"] 28["Cap End"]
23["Plane<br>[33, 50, 0]"] 29["Cap End"]
30["Sweep Extrusion<br>[328, 354, 0]"] 30["SweepEdge Opposite"]
31[Wall] 31["SweepEdge Opposite"]
32[Wall] 32["SweepEdge Opposite"]
33[Wall] 33["SweepEdge Opposite"]
34[Wall] 34["SweepEdge Opposite"]
35["Cap Start"] 35["SweepEdge Opposite"]
36["Cap End"] 36["SweepEdge Opposite"]
37["SweepEdge Opposite"] 37["SweepEdge Opposite"]
38["SweepEdge Adjacent"] 38["SweepEdge Adjacent"]
39["SweepEdge Opposite"] 39["SweepEdge Adjacent"]
40["SweepEdge Adjacent"] 40["SweepEdge Adjacent"]
41["SweepEdge Opposite"] 41["SweepEdge Adjacent"]
42["SweepEdge Adjacent"] 42["SweepEdge Adjacent"]
43["SweepEdge Opposite"] 43["SweepEdge Adjacent"]
44["SweepEdge Adjacent"] 44["SweepEdge Adjacent"]
45["CompositeSolid Intersect<br>[448, 477, 0]"] 45["SweepEdge Adjacent"]
1 --- 2 1 --- 3
2 --- 3
2 --- 4 2 --- 4
2 --- 5 3 --- 5
2 --- 6 3 --- 8
2 ---- 8 3 --- 10
2 --- 7 3 --- 11
3 --- 9 3 --- 13
3 --- 15 3 ---- 16
3 --- 16 3 <--x 17
3 x--> 13 4 --- 6
4 --- 10 4 --- 7
4 --- 17 4 --- 9
4 --- 18 4 --- 12
4 x--> 13 4 --- 14
5 --- 11 4 ---- 15
5 --- 19 4 <--x 17
5 --- 20 5 --- 24
5 x--> 13 5 x--> 27
6 --- 12 5 --- 35
5 --- 42
6 --- 21 6 --- 21
6 --- 22 6 x--> 26
6 x--> 13 6 --- 31
8 --- 9 6 --- 38
8 --- 10 7 --- 19
8 --- 11 7 x--> 26
8 --- 12 7 --- 30
8 --- 13 7 --- 41
8 --- 14 8 --- 25
8 --- 15 8 x--> 27
8 --- 16 8 --- 34
8 --- 17 8 --- 44
8 --- 18 9 --- 18
8 --- 19 9 x--> 26
8 --- 20 9 --- 33
8 --- 21 9 --- 40
8 --- 22 10 --- 23
15 <--x 9 10 x--> 27
15 <--x 14 10 --- 37
16 <--x 9 10 --- 43
16 <--x 10 11 --- 22
17 <--x 10 11 x--> 27
17 <--x 14 11 --- 36
18 <--x 10 11 --- 45
18 <--x 11 12 --- 20
19 <--x 11 12 x--> 26
19 <--x 14 12 --- 32
20 <--x 11 12 --- 39
20 <--x 12 15 --- 18
21 <--x 12 15 --- 19
21 <--x 14 15 --- 20
22 <--x 9 15 --- 21
22 <--x 12 15 --- 26
23 --- 24 15 --- 28
24 --- 25 15 --- 30
24 --- 26 15 --- 31
24 --- 27 15 --- 32
24 --- 28 15 --- 33
24 ---- 30 15 --- 38
24 --- 29 15 --- 39
25 --- 31 15 --- 40
25 --- 37 15 --- 41
25 --- 38 16 --- 22
25 x--> 35 16 --- 23
26 --- 32 16 --- 24
26 --- 39 16 --- 25
26 --- 40 16 --- 27
26 x--> 35 16 --- 29
27 --- 33 16 --- 34
27 --- 41 16 --- 35
27 --- 42 16 --- 36
27 x--> 35 16 --- 37
28 --- 34 16 --- 42
28 --- 43 16 --- 43
28 --- 44 16 --- 44
28 x--> 35 16 --- 45
30 --- 31 33 <--x 18
30 --- 32 40 <--x 18
30 --- 33 41 <--x 18
30 --- 34 30 <--x 19
30 --- 35 38 <--x 19
30 --- 36 41 <--x 19
30 --- 37 32 <--x 20
30 --- 38 39 <--x 20
30 --- 39 40 <--x 20
30 --- 40 31 <--x 21
30 --- 41 38 <--x 21
30 --- 42 39 <--x 21
30 --- 43 36 <--x 22
30 --- 44 43 <--x 22
37 <--x 31 45 <--x 22
37 <--x 36 37 <--x 23
38 <--x 31 43 <--x 23
38 <--x 32 44 <--x 23
39 <--x 32 35 <--x 24
39 <--x 36 42 <--x 24
40 <--x 32 45 <--x 24
40 <--x 33 34 <--x 25
41 <--x 33 42 <--x 25
41 <--x 36 44 <--x 25
42 <--x 33 30 <--x 28
42 <--x 34 31 <--x 28
43 <--x 34 32 <--x 28
43 <--x 36 33 <--x 28
44 <--x 31 34 <--x 29
44 <--x 34 35 <--x 29
2 <--x 45 36 <--x 29
24 <--x 45 37 <--x 29
``` ```

View File

@ -4,15 +4,19 @@ description: Operations executed intersect_cubes.kcl
--- ---
[ [
{ {
"type": "GroupBegin", "labeledArgs": {
"group": { "planeOrSolid": {
"type": "FunctionCall", "value": {
"name": "cube", "type": "Plane",
"functionSourceRange": [], "artifact_id": "[uuid]"
"unlabeledArg": null,
"labeledArgs": {}
}, },
"sourceRange": [] "sourceRange": []
}
},
"name": "startSketchOn",
"sourceRange": [],
"type": "StdLibCall",
"unlabeledArg": null
}, },
{ {
"labeledArgs": { "labeledArgs": {
@ -61,35 +65,6 @@ description: Operations executed intersect_cubes.kcl
"sourceRange": [] "sourceRange": []
} }
}, },
{
"type": "GroupEnd"
},
{
"type": "GroupBegin",
"group": {
"type": "FunctionCall",
"name": "cube",
"functionSourceRange": [],
"unlabeledArg": null,
"labeledArgs": {}
},
"sourceRange": []
},
{
"labeledArgs": {
"planeOrSolid": {
"value": {
"type": "Plane",
"artifact_id": "[uuid]"
},
"sourceRange": []
}
},
"name": "startSketchOn",
"sourceRange": [],
"type": "StdLibCall",
"unlabeledArg": null
},
{ {
"labeledArgs": { "labeledArgs": {
"length": { "length": {
@ -123,7 +98,26 @@ description: Operations executed intersect_cubes.kcl
} }
}, },
{ {
"type": "GroupEnd" "type": "GroupBegin",
"group": {
"type": "FunctionCall",
"name": "cube",
"functionSourceRange": [],
"unlabeledArg": null,
"labeledArgs": {}
},
"sourceRange": []
},
{
"type": "GroupBegin",
"group": {
"type": "FunctionCall",
"name": "cube",
"functionSourceRange": [],
"unlabeledArg": null,
"labeledArgs": {}
},
"sourceRange": []
}, },
{ {
"labeledArgs": { "labeledArgs": {
@ -152,5 +146,11 @@ description: Operations executed intersect_cubes.kcl
"sourceRange": [], "sourceRange": [],
"type": "StdLibCall", "type": "StdLibCall",
"unlabeledArg": null "unlabeledArg": null
},
{
"type": "GroupEnd"
},
{
"type": "GroupEnd"
} }
] ]

View File

@ -3,17 +3,6 @@ source: kcl-lib/src/simulation_tests.rs
description: Operations executed 80-20-rail.kcl description: Operations executed 80-20-rail.kcl
--- ---
[ [
{
"type": "GroupBegin",
"group": {
"type": "FunctionCall",
"name": "rail8020",
"functionSourceRange": [],
"unlabeledArg": null,
"labeledArgs": {}
},
"sourceRange": []
},
{ {
"labeledArgs": { "labeledArgs": {
"planeOrSolid": { "planeOrSolid": {
@ -294,6 +283,17 @@ description: Operations executed 80-20-rail.kcl
}, },
"sourceRange": [] "sourceRange": []
}, },
{
"type": "GroupBegin",
"group": {
"type": "FunctionCall",
"name": "rail8020",
"functionSourceRange": [],
"unlabeledArg": null,
"labeledArgs": {}
},
"sourceRange": []
},
{ {
"type": "GroupEnd" "type": "GroupEnd"
} }

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -5,7 +5,7 @@ description: Variables in memory after executing axial-fan.kcl
{ {
"fan": { "fan": {
"type": "Module", "type": "Module",
"value": 10 "value": 11
}, },
"fanHousing": { "fanHousing": {
"type": "Module", "type": "Module",
@ -13,6 +13,6 @@ description: Variables in memory after executing axial-fan.kcl
}, },
"motor": { "motor": {
"type": "Module", "type": "Module",
"value": 9 "value": 10
} }
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 105 KiB

After

Width:  |  Height:  |  Size: 105 KiB

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