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

View File

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

View File

@ -40,7 +40,7 @@ git_rev = "0.1.0"
gltf-json = "1.4.1"
http = { workspace = true }
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"
kcl-derive-docs = { version = "0.1", path = "../kcl-derive-docs" }
kittycad = { workspace = true }

View File

@ -38,7 +38,27 @@ pub struct ArtifactCommand {
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")]
pub struct ArtifactId(Uuid);
@ -194,7 +214,7 @@ pub struct Sweep {
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")]
#[serde(rename_all = "camelCase")]
pub enum SweepSubType {
@ -245,6 +265,8 @@ pub struct Wall {
/// 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.
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)]
@ -263,7 +285,7 @@ pub struct Cap {
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")]
#[serde(rename_all = "camelCase")]
pub enum CapSubType {
@ -278,12 +300,13 @@ pub struct SweepEdge {
pub id: ArtifactId,
pub sub_type: SweepEdgeSubType,
pub seg_id: ArtifactId,
pub cmd_id: uuid::Uuid,
pub sweep_id: ArtifactId,
#[serde(default, skip_serializing_if = "Vec::is_empty")]
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")]
#[serde(rename_all = "camelCase")]
pub enum SweepEdgeSubType {
@ -305,7 +328,7 @@ pub struct EdgeCut {
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")]
#[serde(rename_all = "camelCase")]
pub enum EdgeCutSubType {
@ -362,6 +385,122 @@ pub enum Artifact {
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 {
pub(crate) fn id(&self) -> ArtifactId {
match self {
@ -533,6 +672,13 @@ impl ArtifactGraph {
pub fn len(&self) -> usize {
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(
@ -709,6 +855,7 @@ fn artifacts_to_update(
sweep_id: wall.sweep_id,
path_ids: wall.path_ids.clone(),
face_code_ref: wall.face_code_ref.clone(),
cmd_id: artifact_command.cmd_id,
})]);
}
Some(Artifact::Cap(cap)) => {
@ -769,6 +916,7 @@ fn artifacts_to_update(
sweep_id: wall.sweep_id,
path_ids: vec![id],
face_code_ref: wall.face_code_ref.clone(),
cmd_id: artifact_command.cmd_id,
}));
}
if let Some(Artifact::Cap(cap)) = plane {
@ -933,6 +1081,7 @@ fn artifacts_to_update(
range: sketch_on_face_source_range,
path_to_node: Vec::new(),
},
cmd_id: artifact_command.cmd_id,
}));
let mut new_seg = seg.clone();
new_seg.surface_id = Some(face_id);
@ -1044,6 +1193,7 @@ fn artifacts_to_update(
id: response_edge_id,
sub_type,
seg_id: edge_id,
cmd_id: artifact_command.cmd_id,
sweep_id: sweep.id,
common_surface_ids: Vec::new(),
}));

View File

@ -194,6 +194,7 @@ impl ArtifactGraph {
let mut next_id = 1_u32;
let mut stable_id_map = FnvHashMap::default();
for id in self.map.keys() {
stable_id_map.insert(*id, next_id);
next_id = next_id.checked_add(1).unwrap();
@ -452,6 +453,7 @@ impl ArtifactGraph {
}
// 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 {
let extra = match edge.kind {
// Extra length. This is needed to make the graph layout more

View File

@ -49,6 +49,33 @@ pub enum Operation {
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 {
/// If the variant is `StdLibCall`, set the `is_error` field.
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
}
/// Perform the execution of a program.
///
/// 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
/// Perform the execution of a program using a concurrent
/// 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
/// execution.
///

View File

@ -32,9 +32,6 @@ pub struct ExecState {
pub(super) global: GlobalState,
pub(super) mod_local: ModuleState,
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>;
@ -96,8 +93,6 @@ impl ExecState {
global: GlobalState::new(&exec_context.settings),
mod_local: ModuleState::new(None, ProgramMemory::new(), Default::default()),
exec_context: Some(exec_context.clone()),
#[cfg(test)]
single_threaded: false,
}
}
@ -108,8 +103,6 @@ impl ExecState {
global,
mod_local: ModuleState::new(None, ProgramMemory::new(), Default::default()),
exec_context: Some(exec_context.clone()),
#[cfg(test)]
single_threaded: false,
};
}

View File

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

View File

@ -14,7 +14,9 @@ use crate::{
};
/// 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)]
pub struct ModuleId(u32);

View File

@ -1,5 +1,3 @@
#[cfg(feature = "artifact-graph")]
use std::collections::HashMap;
use std::{
panic::{catch_unwind, AssertUnwindSafe},
path::{Path, PathBuf},
@ -53,8 +51,11 @@ where
settings.set_snapshot_path(Path::new("..").join(&test.output_dir));
settings.set_prepend_module_to_snapshot(false);
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.
settings.set_sort_maps(true);
}
// 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.
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();
// Run the program.
let exec_res = crate::test_server::execute_and_snapshot_ast_single_threaded(
ast,
Some(test.input_dir.join(&test.entry_point)),
export_step,
)
let exec_res =
crate::test_server::execute_and_snapshot_ast(ast, Some(test.input_dir.join(&test.entry_point)), export_step)
.await;
match exec_res {
Ok((exec_state, env_ref, png, step)) => {
@ -259,35 +257,23 @@ fn assert_common_snapshots(
artifact_commands: Vec<ArtifactCommand>,
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 = {
// Due to our newfound concurrency, we're going to mess with the
// artifact_commands a bit -- we're going to maintain the order,
// but only for a given module ID. This means the artifact_commands
// is no longer meaningful, but it is deterministic and will hopefully
// catch meaningful changes in behavior.
// We sort by the source range, like we do for the operations.
let mut artifact_commands_map = artifact_commands
.into_iter()
.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());
let mut artifact_commands = artifact_commands.clone();
artifact_commands.sort_by(|a, b| a.partial_cmp(b).unwrap_or(std::cmp::Ordering::Equal));
artifact_commands
};
@ -316,6 +302,10 @@ fn assert_common_snapshots(
}));
let result3 = catch_unwind(AssertUnwindSafe(|| {
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
.to_mermaid_flowchart()
.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 {
fn from(source_range: &SourceRange) -> Self {
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 get_all_edge_faces_opposite_uuid = exec_state.next_uuid();
let get_all_edge_faces_next_uuid = exec_state.next_uuid();
#[cfg(test)]
let single_threaded = exec_state.single_threaded;
#[cfg(all(not(test), not(target_arch = "wasm32")))]
#[cfg(any(not(test), not(feature = "artifact-graph"), not(target_arch = "wasm32")))]
#[allow(unused_variables)]
let single_threaded = false;
// When running in vitest, we need to run this in a single thread.
// 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();
// 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
// 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> {
let ctx = new_context(true, current_file).await?;
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
.map(|(_, _, snap)| snap)
.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.
/// This returns the bytes of the snapshot.
#[cfg(test)]
pub async fn execute_and_snapshot_ast_single_threaded(
pub async fn execute_and_snapshot_ast(
ast: Program,
current_file: Option<PathBuf>,
with_export_step: bool,
) -> Result<(ExecState, EnvironmentRef, image::DynamicImage, Option<Vec<u8>>), ExecErrorWithState> {
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),
Err(err) => {
// 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> {
let ctx = new_context(false, current_file).await?;
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
.map(|(_, env_ref, snap)| (snap, env_ref))
.map_err(|err| err.error);
@ -84,14 +84,11 @@ pub async fn execute_and_snapshot_no_auth(
async fn do_execute_and_snapshot(
ctx: &ExecutorContext,
program: Program,
single_threaded: bool,
) -> Result<(ExecState, EnvironmentRef, image::DynamicImage), ExecErrorWithState> {
let mut exec_state = ExecState::new(ctx);
let result = if single_threaded {
ctx.run_single_threaded(&program, &mut exec_state).await
} else {
ctx.run(&program, &mut exec_state).await
}
let result = ctx
.run(&program, &mut exec_state)
.await
.map_err(|err| ExecErrorWithState::new(err.into(), exec_state.clone()))?;
for e in exec_state.errors() {
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]",
"range": [],
@ -97,6 +90,13 @@ description: Artifact commands angled_line.kcl
"type": "sketch_mode_disable"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -217,6 +217,14 @@ description: Artifact commands angled_line.kcl
"opposite": "None"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -228,8 +236,162 @@ description: Artifact commands angled_line.kcl
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
"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]"
}
},
{
@ -245,30 +407,12 @@ description: Artifact commands angled_line.kcl
"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",
"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": [],
@ -283,39 +427,12 @@ description: Artifact commands angled_line.kcl
"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",
"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": [],
@ -330,39 +447,12 @@ description: Artifact commands angled_line.kcl
"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",
"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": [],
@ -377,18 +467,10 @@ description: Artifact commands angled_line.kcl
"cmdId": "[uuid]",
"range": [],
"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_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
@ -405,39 +487,12 @@ description: Artifact commands angled_line.kcl
"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",
"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_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -448,43 +503,6 @@ description: Artifact commands angled_line.kcl
"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": [],
@ -499,28 +517,10 @@ description: Artifact commands angled_line.kcl
"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",
"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]"
}
}
]

View File

@ -21,16 +21,16 @@ flowchart LR
17["Cap Start"]
18["Cap End"]
19["SweepEdge Opposite"]
20["SweepEdge Adjacent"]
20["SweepEdge Opposite"]
21["SweepEdge Opposite"]
22["SweepEdge Adjacent"]
22["SweepEdge Opposite"]
23["SweepEdge Opposite"]
24["SweepEdge Adjacent"]
25["SweepEdge Opposite"]
24["SweepEdge Opposite"]
25["SweepEdge Adjacent"]
26["SweepEdge Adjacent"]
27["SweepEdge Opposite"]
27["SweepEdge Adjacent"]
28["SweepEdge Adjacent"]
29["SweepEdge Opposite"]
29["SweepEdge Adjacent"]
30["SweepEdge Adjacent"]
1 --- 2
2 --- 3
@ -39,32 +39,32 @@ flowchart LR
2 --- 6
2 --- 7
2 --- 8
2 ---- 10
2 --- 9
2 ---- 10
3 --- 16
3 --- 29
3 --- 30
3 x--> 17
4 --- 15
4 --- 27
4 --- 28
3 --- 23
3 --- 25
4 --- 14
4 x--> 17
5 --- 14
5 --- 25
5 --- 26
4 --- 21
4 --- 27
5 --- 13
5 x--> 17
6 --- 13
6 --- 23
6 --- 24
5 --- 19
5 --- 29
6 --- 15
6 x--> 17
6 --- 22
6 --- 26
7 --- 12
7 --- 21
7 --- 22
7 x--> 17
7 --- 20
7 --- 30
8 --- 11
8 --- 19
8 --- 20
8 x--> 17
8 --- 24
8 --- 28
10 --- 11
10 --- 12
10 --- 13
@ -85,28 +85,28 @@ flowchart LR
10 --- 28
10 --- 29
10 --- 30
19 <--x 11
19 <--x 18
20 <--x 11
20 <--x 16
21 <--x 12
21 <--x 18
22 <--x 11
22 <--x 12
23 <--x 13
23 <--x 18
24 <--x 12
24 <--x 13
24 <--x 11
28 <--x 11
30 <--x 11
20 <--x 12
26 <--x 12
30 <--x 12
19 <--x 13
27 <--x 13
29 <--x 13
21 <--x 14
25 <--x 14
25 <--x 18
26 <--x 13
26 <--x 14
27 <--x 15
27 <--x 18
28 <--x 14
28 <--x 15
29 <--x 16
29 <--x 18
30 <--x 15
30 <--x 16
27 <--x 14
22 <--x 15
26 <--x 15
29 <--x 15
23 <--x 16
25 <--x 16
28 <--x 16
19 <--x 18
20 <--x 18
21 <--x 18
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]",
"range": [],
@ -97,6 +90,13 @@ description: Artifact commands artifact_graph_example_code1.kcl
"type": "sketch_mode_disable"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -200,6 +200,14 @@ description: Artifact commands artifact_graph_example_code1.kcl
"opposite": "None"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -211,8 +219,108 @@ description: Artifact commands artifact_graph_example_code1.kcl
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
"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]"
}
},
{
@ -228,30 +336,12 @@ description: Artifact commands artifact_graph_example_code1.kcl
"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",
"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": [],
@ -266,39 +356,12 @@ description: Artifact commands artifact_graph_example_code1.kcl
"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",
"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": [],
@ -313,18 +376,10 @@ description: Artifact commands artifact_graph_example_code1.kcl
"cmdId": "[uuid]",
"range": [],
"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_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
@ -337,43 +392,6 @@ description: Artifact commands artifact_graph_example_code1.kcl
"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": [],
@ -388,30 +406,12 @@ description: Artifact commands artifact_graph_example_code1.kcl
"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",
"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": [],
@ -436,13 +436,6 @@ description: Artifact commands artifact_graph_example_code1.kcl
"planar_normal": null
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -463,6 +456,13 @@ description: Artifact commands artifact_graph_example_code1.kcl
"type": "sketch_mode_disable"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -545,6 +545,14 @@ description: Artifact commands artifact_graph_example_code1.kcl
"opposite": "None"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -556,8 +564,81 @@ description: Artifact commands artifact_graph_example_code1.kcl
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
"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]"
}
},
{
@ -573,30 +654,12 @@ description: Artifact commands artifact_graph_example_code1.kcl
"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",
"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": [],
@ -611,18 +674,10 @@ description: Artifact commands artifact_graph_example_code1.kcl
"cmdId": "[uuid]",
"range": [],
"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]"
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
@ -635,43 +690,6 @@ description: Artifact commands artifact_graph_example_code1.kcl
"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": [],
@ -686,28 +704,10 @@ description: Artifact commands artifact_graph_example_code1.kcl
"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",
"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]"
}
}
]

View File

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

View File

@ -1,31 +1,31 @@
```mermaid
flowchart LR
subgraph path2 [Path]
2["Path<br>[37, 65, 0]"]
3["Segment<br>[71, 139, 0]"]
4["Segment<br>[145, 242, 0]"]
5["Segment<br>[248, 365, 0]"]
6["Segment<br>[371, 427, 0]"]
7["Segment<br>[433, 440, 0]"]
8[Solid2d]
subgraph path3 [Path]
3["Path<br>[37, 65, 0]"]
5["Segment<br>[71, 139, 0]"]
6["Segment<br>[145, 242, 0]"]
7["Segment<br>[248, 365, 0]"]
8["Segment<br>[371, 427, 0]"]
9["Segment<br>[433, 440, 0]"]
13[Solid2d]
end
subgraph path10 [Path]
10["Path<br>[479, 508, 0]"]
11["Segment<br>[514, 539, 0]"]
12["Segment<br>[545, 580, 0]"]
13["Segment<br>[586, 627, 0]"]
subgraph path4 [Path]
4["Path<br>[479, 508, 0]"]
10["Segment<br>[514, 539, 0]"]
11["Segment<br>[545, 580, 0]"]
12["Segment<br>[586, 627, 0]"]
end
1["Plane<br>[12, 31, 0]"]
9["Plane<br>[453, 473, 0]"]
1 --- 2
2 --- 3
2["Plane<br>[453, 473, 0]"]
1 --- 3
2 --- 4
2 --- 5
2 --- 6
2 --- 7
2 --- 8
9 --- 10
10 --- 11
10 --- 12
10 --- 13
3 --- 5
3 --- 6
3 --- 7
3 --- 8
3 --- 9
3 --- 13
4 --- 10
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]",
"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]",
"range": [],
@ -189,6 +191,13 @@ description: Artifact commands artifact_graph_example_code_offset_planes.kcl
"type": "sketch_mode_disable"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -205,14 +214,5 @@ description: Artifact commands artifact_graph_example_code_offset_planes.kcl
"relative": true
}
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_visible",
"object_id": "[uuid]",
"hidden": true
}
}
]

View File

@ -1,14 +1,14 @@
```mermaid
flowchart LR
subgraph path4 [Path]
4["Path<br>[193, 218, 0]"]
5["Segment<br>[224, 249, 0]"]
subgraph path5 [Path]
5["Path<br>[193, 218, 0]"]
6["Segment<br>[224, 249, 0]"]
end
1["Plane<br>[17, 47, 0]"]
2["Plane<br>[65, 96, 0]"]
3["Plane<br>[114, 144, 0]"]
6["StartSketchOnPlane<br>[158, 187, 0]"]
1 --- 4
4 --- 5
1 <--x 6
4["StartSketchOnPlane<br>[158, 187, 0]"]
1 <--x 4
1 --- 5
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]",
"range": [],
@ -97,6 +90,13 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"type": "sketch_mode_disable"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -183,6 +183,14 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"opposite": "None"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -194,8 +202,81 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
"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 +292,12 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"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",
"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": [],
@ -249,18 +312,10 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"cmdId": "[uuid]",
"range": [],
"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]"
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
@ -273,43 +328,6 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"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": [],
@ -324,30 +342,12 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"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",
"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": [],
@ -360,13 +360,6 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"planar_normal": null
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -387,6 +380,13 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"type": "sketch_mode_disable"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -469,6 +469,14 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"opposite": "None"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -480,8 +488,81 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
"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]"
}
},
{
@ -497,30 +578,12 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"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",
"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": [],
@ -535,18 +598,10 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"cmdId": "[uuid]",
"range": [],
"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]"
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
@ -559,43 +614,6 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"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": [],
@ -610,30 +628,12 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"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",
"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": [],
@ -646,13 +646,6 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"planar_normal": null
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -673,6 +666,13 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"type": "sketch_mode_disable"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -755,6 +755,14 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"opposite": "None"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -766,8 +774,81 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
"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]"
}
},
{
@ -783,30 +864,12 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"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",
"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": [],
@ -821,18 +884,10 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"cmdId": "[uuid]",
"range": [],
"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]"
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
@ -845,43 +900,6 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"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": [],
@ -896,30 +914,12 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"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",
"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": [],
@ -932,13 +932,6 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"planar_normal": null
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -959,6 +952,13 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"type": "sketch_mode_disable"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -1041,6 +1041,14 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"opposite": "None"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -1052,8 +1060,81 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
"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]"
}
},
{
@ -1069,30 +1150,12 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"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",
"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": [],
@ -1107,18 +1170,10 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"cmdId": "[uuid]",
"range": [],
"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]"
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
@ -1131,43 +1186,6 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"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": [],
@ -1182,28 +1200,10 @@ description: Artifact commands artifact_graph_sketch_on_face_etc.kcl
"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",
"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]"
}
}
]

View File

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

View File

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

View File

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

View File

@ -12,56 +12,6 @@ description: Operations executed assembly_mixed_units_cubes.kcl
},
"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",
"group": {
@ -72,51 +22,7 @@ description: Operations executed assembly_mixed_units_cubes.kcl
"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": "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
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "close_path",
"path_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"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]",
"range": [],
@ -126,8 +107,27 @@ description: Artifact commands assembly_non_default_units.kcl
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "close_path",
"path_id": "[uuid]"
"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]",
"range": [],
"command": {
"type": "start_path"
}
},
{
@ -155,6 +155,14 @@ description: Artifact commands assembly_non_default_units.kcl
"hide": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "close_path",
"path_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"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]",
"range": [],
@ -227,8 +208,27 @@ description: Artifact commands assembly_non_default_units.kcl
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "close_path",
"path_id": "[uuid]"
"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]",
"range": [],
"command": {
"type": "start_path"
}
}
]

View File

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

View File

@ -12,24 +12,6 @@ description: Operations executed assembly_non_default_units.kcl
},
"sourceRange": []
},
{
"labeledArgs": {
"planeOrSolid": {
"value": {
"type": "String",
"value": "XZ"
},
"sourceRange": []
}
},
"name": "startSketchOn",
"sourceRange": [],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"type": "GroupEnd"
},
{
"type": "GroupBegin",
"group": {
@ -40,19 +22,7 @@ description: Operations executed assembly_non_default_units.kcl
"sourceRange": []
},
{
"labeledArgs": {
"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": {
"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]",
"range": [],
@ -97,6 +90,13 @@ description: Artifact commands basic_fillet_cube_close_opposite.kcl
"type": "sketch_mode_disable"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -183,6 +183,14 @@ description: Artifact commands basic_fillet_cube_close_opposite.kcl
"opposite": "None"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -194,8 +202,108 @@ description: Artifact commands basic_fillet_cube_close_opposite.kcl
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
"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]"
}
},
{
@ -211,30 +319,12 @@ description: Artifact commands basic_fillet_cube_close_opposite.kcl
"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",
"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": [],
@ -249,39 +339,12 @@ description: Artifact commands basic_fillet_cube_close_opposite.kcl
"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",
"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": [],
@ -296,18 +359,10 @@ description: Artifact commands basic_fillet_cube_close_opposite.kcl
"cmdId": "[uuid]",
"range": [],
"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_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
@ -320,43 +375,6 @@ description: Artifact commands basic_fillet_cube_close_opposite.kcl
"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": [],
@ -367,34 +385,6 @@ description: Artifact commands basic_fillet_cube_close_opposite.kcl
"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": [],
@ -428,5 +418,15 @@ description: Artifact commands basic_fillet_cube_close_opposite.kcl
"tolerance": 0.0000001,
"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"]
14["Cap End"]
15["SweepEdge Opposite"]
16["SweepEdge Adjacent"]
16["SweepEdge Opposite"]
17["SweepEdge Opposite"]
18["SweepEdge Adjacent"]
19["SweepEdge Opposite"]
18["SweepEdge Opposite"]
19["SweepEdge Adjacent"]
20["SweepEdge Adjacent"]
21["SweepEdge Opposite"]
21["SweepEdge Adjacent"]
22["SweepEdge Adjacent"]
23["EdgeCut Fillet<br>[223, 283, 0]"]
24["EdgeCut Fillet<br>[223, 283, 0]"]
@ -31,25 +31,25 @@ flowchart LR
2 --- 4
2 --- 5
2 --- 6
2 ---- 8
2 --- 7
2 ---- 8
3 --- 12
3 --- 21
3 --- 22
3 x--> 13
4 --- 11
4 --- 19
4 --- 20
3 --- 16
3 --- 20
4 --- 10
4 x--> 13
5 --- 10
5 --- 17
5 --- 18
4 --- 17
4 --- 21
5 --- 9
5 x--> 13
6 --- 9
6 --- 15
6 --- 16
6 --- 23
5 --- 15
5 --- 22
6 --- 11
6 x--> 13
6 --- 18
6 --- 19
6 --- 23
8 --- 9
8 --- 10
8 --- 11
@ -64,19 +64,19 @@ flowchart LR
8 --- 20
8 --- 21
8 --- 22
16 <--x 9
16 <--x 12
15 <--x 9
21 <--x 9
22 <--x 9
17 <--x 10
17 <--x 14
18 <--x 9
18 <--x 10
19 <--x 11
19 <--x 14
20 <--x 10
20 <--x 11
21 <--x 12
21 <--x 14
21 <--x 10
19 <--x 11
22 <--x 11
22 <--x 12
15 <--x 24
16 <--x 12
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]",
"range": [],
@ -97,6 +90,13 @@ description: Artifact commands basic_fillet_cube_end.kcl
"type": "sketch_mode_disable"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -183,6 +183,14 @@ description: Artifact commands basic_fillet_cube_end.kcl
"opposite": "None"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -194,8 +202,108 @@ description: Artifact commands basic_fillet_cube_end.kcl
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
"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]"
}
},
{
@ -211,30 +319,12 @@ description: Artifact commands basic_fillet_cube_end.kcl
"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",
"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": [],
@ -249,39 +339,12 @@ description: Artifact commands basic_fillet_cube_end.kcl
"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",
"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": [],
@ -296,18 +359,10 @@ description: Artifact commands basic_fillet_cube_end.kcl
"cmdId": "[uuid]",
"range": [],
"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_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
@ -320,43 +375,6 @@ description: Artifact commands basic_fillet_cube_end.kcl
"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": [],
@ -367,34 +385,6 @@ description: Artifact commands basic_fillet_cube_end.kcl
"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": [],
@ -428,5 +418,15 @@ description: Artifact commands basic_fillet_cube_end.kcl
"tolerance": 0.0000001,
"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"]
14["Cap End"]
15["SweepEdge Opposite"]
16["SweepEdge Adjacent"]
16["SweepEdge Opposite"]
17["SweepEdge Opposite"]
18["SweepEdge Adjacent"]
19["SweepEdge Opposite"]
18["SweepEdge Opposite"]
19["SweepEdge Adjacent"]
20["SweepEdge Adjacent"]
21["SweepEdge Opposite"]
21["SweepEdge Adjacent"]
22["SweepEdge Adjacent"]
23["EdgeCut Fillet<br>[211, 269, 0]"]
24["EdgeCut Fillet<br>[211, 269, 0]"]
@ -31,25 +31,25 @@ flowchart LR
2 --- 4
2 --- 5
2 --- 6
2 ---- 8
2 --- 7
2 ---- 8
3 --- 12
3 --- 21
3 --- 22
3 --- 23
3 x--> 13
4 --- 11
4 --- 19
4 --- 20
3 --- 18
3 --- 20
3 --- 23
4 --- 10
4 x--> 13
5 --- 10
5 --- 17
5 --- 18
4 --- 17
4 --- 21
5 --- 9
5 x--> 13
6 --- 9
6 --- 15
6 --- 16
5 --- 15
5 --- 22
6 --- 11
6 x--> 13
6 --- 16
6 --- 19
8 --- 9
8 --- 10
8 --- 11
@ -65,18 +65,18 @@ flowchart LR
8 --- 21
8 --- 22
15 <--x 9
15 <--x 14
16 <--x 9
16 <--x 12
21 <--x 9
22 <--x 9
17 <--x 10
17 <--x 14
18 <--x 9
18 <--x 10
19 <--x 11
19 <--x 14
20 <--x 10
20 <--x 11
21 <--x 10
16 <--x 11
19 <--x 11
22 <--x 11
22 <--x 12
21 <--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_next_adjacent.kcl
}
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -97,6 +90,13 @@ description: Artifact commands basic_fillet_cube_next_adjacent.kcl
"type": "sketch_mode_disable"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -183,6 +183,14 @@ description: Artifact commands basic_fillet_cube_next_adjacent.kcl
"opposite": "None"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -194,8 +202,108 @@ description: Artifact commands basic_fillet_cube_next_adjacent.kcl
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
"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]"
}
},
{
@ -211,9 +319,40 @@ description: Artifact commands basic_fillet_cube_next_adjacent.kcl
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"type": "solid3d_get_next_adjacent_edge",
"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]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_next_adjacent_edge",
"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_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -273,43 +385,6 @@ description: Artifact commands basic_fillet_cube_next_adjacent.kcl
"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": [],
@ -320,91 +395,6 @@ description: Artifact commands basic_fillet_cube_next_adjacent.kcl
"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]",
"range": [],
@ -416,5 +406,15 @@ description: Artifact commands basic_fillet_cube_next_adjacent.kcl
"tolerance": 0.0000001,
"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"]
14["Cap End"]
15["SweepEdge Opposite"]
16["SweepEdge Adjacent"]
16["SweepEdge Opposite"]
17["SweepEdge Opposite"]
18["SweepEdge Adjacent"]
19["SweepEdge Opposite"]
18["SweepEdge Opposite"]
19["SweepEdge Adjacent"]
20["SweepEdge Adjacent"]
21["SweepEdge Opposite"]
21["SweepEdge Adjacent"]
22["SweepEdge Adjacent"]
23["EdgeCut Fillet<br>[238, 294, 0]"]
1 --- 2
@ -30,24 +30,24 @@ flowchart LR
2 --- 4
2 --- 5
2 --- 6
2 ---- 8
2 --- 7
2 ---- 8
3 --- 12
3 --- 21
3 --- 22
3 x--> 13
4 --- 11
4 --- 19
4 --- 20
3 --- 17
3 --- 19
4 --- 10
4 x--> 13
5 --- 10
5 --- 17
5 --- 18
4 --- 18
4 --- 20
5 --- 9
5 x--> 13
6 --- 9
6 --- 15
6 --- 16
5 --- 15
5 --- 22
6 --- 11
6 x--> 13
6 --- 16
6 --- 21
8 --- 9
8 --- 10
8 --- 11
@ -63,18 +63,18 @@ flowchart LR
8 --- 21
8 --- 22
15 <--x 9
15 <--x 14
17 <--x 10
17 <--x 14
18 <--x 9
20 <--x 9
22 <--x 9
18 <--x 10
19 <--x 11
19 <--x 14
19 <--x 10
20 <--x 10
20 <--x 11
21 <--x 12
21 <--x 14
16 <--x 11
22 <--x 11
22 <--x 12
16 <--x 23
17 <--x 12
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]",
"range": [],
@ -97,6 +90,13 @@ description: Artifact commands basic_fillet_cube_previous_adjacent.kcl
"type": "sketch_mode_disable"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -183,6 +183,14 @@ description: Artifact commands basic_fillet_cube_previous_adjacent.kcl
"opposite": "None"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -194,8 +202,108 @@ description: Artifact commands basic_fillet_cube_previous_adjacent.kcl
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
"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]"
}
},
{
@ -211,30 +319,12 @@ description: Artifact commands basic_fillet_cube_previous_adjacent.kcl
"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",
"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": [],
@ -249,39 +339,12 @@ description: Artifact commands basic_fillet_cube_previous_adjacent.kcl
"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",
"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": [],
@ -296,18 +359,10 @@ description: Artifact commands basic_fillet_cube_previous_adjacent.kcl
"cmdId": "[uuid]",
"range": [],
"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_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
@ -320,43 +375,6 @@ description: Artifact commands basic_fillet_cube_previous_adjacent.kcl
"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": [],
@ -371,35 +389,7 @@ description: Artifact commands basic_fillet_cube_previous_adjacent.kcl
"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_prev_adjacent_edge",
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]",
"face_id": "[uuid]"
@ -416,5 +406,15 @@ description: Artifact commands basic_fillet_cube_previous_adjacent.kcl
"tolerance": 0.0000001,
"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"]
14["Cap End"]
15["SweepEdge Opposite"]
16["SweepEdge Adjacent"]
16["SweepEdge Opposite"]
17["SweepEdge Opposite"]
18["SweepEdge Adjacent"]
19["SweepEdge Opposite"]
18["SweepEdge Opposite"]
19["SweepEdge Adjacent"]
20["SweepEdge Adjacent"]
21["SweepEdge Opposite"]
21["SweepEdge Adjacent"]
22["SweepEdge Adjacent"]
23["EdgeCut Fillet<br>[238, 298, 0]"]
1 --- 2
@ -30,24 +30,24 @@ flowchart LR
2 --- 4
2 --- 5
2 --- 6
2 ---- 8
2 --- 7
2 ---- 8
3 --- 12
3 --- 21
3 --- 22
3 x--> 13
4 --- 11
4 --- 19
4 --- 20
3 --- 17
3 --- 20
4 --- 10
4 x--> 13
5 --- 10
5 --- 17
5 --- 18
4 --- 18
4 --- 21
5 --- 9
5 x--> 13
6 --- 9
6 --- 15
6 --- 16
5 --- 15
5 --- 22
6 --- 11
6 x--> 13
6 --- 16
6 --- 19
8 --- 9
8 --- 10
8 --- 11
@ -63,20 +63,20 @@ flowchart LR
8 --- 21
8 --- 22
15 <--x 9
15 <--x 14
16 <--x 9
16 <--x 12
17 <--x 10
17 <--x 14
18 <--x 9
21 <--x 9
22 <--x 9
18 <--x 10
19 <--x 11
19 <--x 14
20 <--x 10
20 <--x 11
21 <--x 12
21 <--x 14
21 <--x 10
16 <--x 11
19 <--x 11
22 <--x 11
22 <--x 12
18 <--x 23
17 <--x 12
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]",
"range": [],
@ -97,6 +90,13 @@ description: Artifact commands basic_fillet_cube_start.kcl
"type": "sketch_mode_disable"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -183,6 +183,14 @@ description: Artifact commands basic_fillet_cube_start.kcl
"opposite": "None"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -194,8 +202,108 @@ description: Artifact commands basic_fillet_cube_start.kcl
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
"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]"
}
},
{
@ -211,30 +319,12 @@ description: Artifact commands basic_fillet_cube_start.kcl
"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",
"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": [],
@ -249,39 +339,12 @@ description: Artifact commands basic_fillet_cube_start.kcl
"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",
"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": [],
@ -296,18 +359,10 @@ description: Artifact commands basic_fillet_cube_start.kcl
"cmdId": "[uuid]",
"range": [],
"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_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
@ -320,43 +375,6 @@ description: Artifact commands basic_fillet_cube_start.kcl
"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": [],
@ -371,30 +389,12 @@ description: Artifact commands basic_fillet_cube_start.kcl
"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",
"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": [],

View File

@ -17,12 +17,12 @@ flowchart LR
13["Cap Start"]
14["Cap End"]
15["SweepEdge Opposite"]
16["SweepEdge Adjacent"]
16["SweepEdge Opposite"]
17["SweepEdge Opposite"]
18["SweepEdge Adjacent"]
19["SweepEdge Opposite"]
18["SweepEdge Opposite"]
19["SweepEdge Adjacent"]
20["SweepEdge Adjacent"]
21["SweepEdge Opposite"]
21["SweepEdge Adjacent"]
22["SweepEdge Adjacent"]
23["EdgeCut Fillet<br>[211, 253, 0]"]
24["EdgeCut Fillet<br>[211, 253, 0]"]
@ -31,26 +31,26 @@ flowchart LR
2 --- 4
2 --- 5
2 --- 6
2 ---- 8
2 --- 7
2 ---- 8
3 --- 12
3 --- 21
3 --- 22
3 --- 23
3 x--> 13
4 --- 11
4 --- 19
4 --- 20
3 --- 17
3 --- 20
3 --- 23
4 --- 10
4 x--> 13
5 --- 10
5 --- 17
5 --- 18
5 --- 24
4 --- 18
4 --- 21
5 --- 9
5 x--> 13
6 --- 9
6 --- 15
6 --- 16
5 --- 15
5 --- 22
5 --- 24
6 --- 11
6 x--> 13
6 --- 16
6 --- 19
8 --- 9
8 --- 10
8 --- 11
@ -66,19 +66,19 @@ flowchart LR
8 --- 21
8 --- 22
15 <--x 9
15 <--x 14
16 <--x 9
16 <--x 12
17 <--x 10
17 <--x 14
18 <--x 9
21 <--x 9
22 <--x 9
18 <--x 10
19 <--x 11
19 <--x 14
20 <--x 10
20 <--x 11
21 <--x 12
21 <--x 14
21 <--x 10
16 <--x 11
19 <--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
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "close_path",
"path_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"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]",
"range": [],
@ -126,8 +107,27 @@ description: Artifact commands circle_three_point.kcl
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "close_path",
"path_id": "[uuid]"
"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]",
"range": [],
"command": {
"type": "start_path"
}
},
{
@ -157,13 +157,6 @@ description: Artifact commands circle_three_point.kcl
"opposite": "None"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "sketch_mode_disable"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -172,6 +165,40 @@ description: Artifact commands circle_three_point.kcl
"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]",
"range": [],
@ -181,34 +208,6 @@ description: Artifact commands circle_three_point.kcl
"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": [],
@ -223,9 +222,10 @@ description: Artifact commands circle_three_point.kcl
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
}
]

View File

@ -14,18 +14,18 @@ flowchart LR
10["SweepEdge Adjacent"]
1 --- 2
2 --- 3
2 ---- 5
2 --- 4
2 ---- 5
3 --- 6
3 x--> 7
3 --- 9
3 --- 10
3 x--> 7
5 --- 6
5 --- 7
5 --- 8
5 --- 9
5 --- 10
9 <--x 6
9 <--x 8
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]",
"range": [],
@ -97,6 +90,13 @@ description: Artifact commands circular_pattern3d_a_pattern.kcl
"type": "sketch_mode_disable"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -183,6 +183,14 @@ description: Artifact commands circular_pattern3d_a_pattern.kcl
"opposite": "None"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -194,8 +202,108 @@ description: Artifact commands circular_pattern3d_a_pattern.kcl
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
"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]"
}
},
{
@ -211,30 +319,12 @@ description: Artifact commands circular_pattern3d_a_pattern.kcl
"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",
"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": [],
@ -249,39 +339,12 @@ description: Artifact commands circular_pattern3d_a_pattern.kcl
"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",
"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": [],
@ -296,18 +359,10 @@ description: Artifact commands circular_pattern3d_a_pattern.kcl
"cmdId": "[uuid]",
"range": [],
"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_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
@ -320,43 +375,6 @@ description: Artifact commands circular_pattern3d_a_pattern.kcl
"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": [],
@ -371,30 +389,12 @@ description: Artifact commands circular_pattern3d_a_pattern.kcl
"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",
"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": [],

View File

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

View File

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

View File

@ -18,12 +18,12 @@ flowchart LR
14["Cap Start"]
15["Cap End"]
16["SweepEdge Opposite"]
17["SweepEdge Adjacent"]
17["SweepEdge Opposite"]
18["SweepEdge Opposite"]
19["SweepEdge Adjacent"]
20["SweepEdge Opposite"]
19["SweepEdge Opposite"]
20["SweepEdge Adjacent"]
21["SweepEdge Adjacent"]
22["SweepEdge Opposite"]
22["SweepEdge Adjacent"]
23["SweepEdge Adjacent"]
1 --- 2
2 --- 3
@ -31,24 +31,24 @@ flowchart LR
2 --- 5
2 --- 6
2 --- 7
2 ---- 9
2 --- 8
2 ---- 9
3 --- 13
3 --- 22
3 --- 23
3 x--> 14
4 --- 12
4 --- 20
4 --- 21
3 --- 17
3 --- 20
4 --- 11
4 x--> 14
5 --- 11
5 --- 18
5 --- 19
4 --- 18
4 --- 22
5 --- 10
5 x--> 14
6 --- 10
6 --- 16
6 --- 17
5 --- 19
5 --- 21
6 --- 12
6 x--> 14
6 --- 16
6 --- 23
9 --- 10
9 --- 11
9 --- 12
@ -63,20 +63,20 @@ flowchart LR
9 --- 21
9 --- 22
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 11
20 <--x 12
20 <--x 15
21 <--x 11
21 <--x 10
22 <--x 10
18 <--x 11
20 <--x 11
22 <--x 11
16 <--x 12
21 <--x 12
22 <--x 13
22 <--x 15
23 <--x 12
17 <--x 13
20 <--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
---
[
{
"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",
"group": {
@ -65,53 +112,6 @@ description: Operations executed cube.kcl
},
"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"
}

View File

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

View File

@ -18,12 +18,12 @@ flowchart LR
14["Cap Start"]
15["Cap End"]
16["SweepEdge Opposite"]
17["SweepEdge Adjacent"]
17["SweepEdge Opposite"]
18["SweepEdge Opposite"]
19["SweepEdge Adjacent"]
20["SweepEdge Opposite"]
19["SweepEdge Opposite"]
20["SweepEdge Adjacent"]
21["SweepEdge Adjacent"]
22["SweepEdge Opposite"]
22["SweepEdge Adjacent"]
23["SweepEdge Adjacent"]
1 --- 2
2 --- 3
@ -31,24 +31,24 @@ flowchart LR
2 --- 5
2 --- 6
2 --- 7
2 ---- 9
2 --- 8
2 ---- 9
3 --- 13
3 --- 22
3 --- 23
3 x--> 14
4 --- 12
4 --- 20
4 --- 21
3 --- 17
3 --- 20
4 --- 11
4 x--> 14
5 --- 11
5 --- 18
5 --- 19
4 --- 18
4 --- 22
5 --- 10
5 x--> 14
6 --- 10
6 --- 16
6 --- 17
5 --- 19
5 --- 21
6 --- 12
6 x--> 14
6 --- 16
6 --- 23
9 --- 10
9 --- 11
9 --- 12
@ -63,20 +63,20 @@ flowchart LR
9 --- 21
9 --- 22
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 11
20 <--x 12
20 <--x 15
21 <--x 11
21 <--x 10
22 <--x 10
18 <--x 11
20 <--x 11
22 <--x 11
16 <--x 12
21 <--x 12
22 <--x 13
22 <--x 15
23 <--x 12
17 <--x 13
20 <--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
---
[
{
"type": "GroupBegin",
"group": {
"type": "FunctionCall",
"name": "cube",
"functionSourceRange": [],
"unlabeledArg": null,
"labeledArgs": {}
},
"sourceRange": []
},
{
"labeledArgs": {
"planeOrSolid": {
@ -61,6 +50,17 @@ description: Operations executed cube_with_error.kcl
"sourceRange": []
}
},
{
"type": "GroupBegin",
"group": {
"type": "FunctionCall",
"name": "cube",
"functionSourceRange": [],
"unlabeledArg": null,
"labeledArgs": {}
},
"sourceRange": []
},
{
"type": "GroupEnd"
}

File diff suppressed because it is too large Load Diff

View File

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

View File

@ -122,15 +122,19 @@ description: Operations executed fillet-and-shell.kcl
"sourceRange": []
},
{
"type": "GroupBegin",
"group": {
"type": "FunctionCall",
"name": "m25Screw",
"functionSourceRange": [],
"unlabeledArg": null,
"labeledArgs": {}
"labeledArgs": {
"planeOrSolid": {
"value": {
"type": "String",
"value": "XY"
},
"sourceRange": []
}
},
"name": "startSketchOn",
"sourceRange": [],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"labeledArgs": {
@ -147,6 +151,111 @@ description: Operations executed fillet-and-shell.kcl
"type": "StdLibCall",
"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": {
"tool": {
@ -204,48 +313,26 @@ description: Operations executed fillet-and-shell.kcl
"sourceRange": []
}
},
{
"type": "GroupEnd"
},
{
"type": "GroupBegin",
"group": {
"type": "FunctionCall",
"name": "m25Screw",
"functionSourceRange": [],
"unlabeledArg": null,
"labeledArgs": {}
},
"sourceRange": []
},
{
"labeledArgs": {
"planeOrSolid": {
"length": {
"value": {
"type": "String",
"value": "XY"
"type": "Number",
"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": []
}
},
"name": "subtract2d",
"name": "extrude",
"sourceRange": [],
"type": "StdLibCall",
"unlabeledArg": {
@ -290,60 +377,6 @@ description: Operations executed fillet-and-shell.kcl
"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": {
"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",
@ -391,79 +432,26 @@ description: Operations executed fillet-and-shell.kcl
"sourceRange": []
},
{
"labeledArgs": {
"planeOrSolid": {
"value": {
"type": "String",
"value": "XY"
"type": "GroupBegin",
"group": {
"type": "FunctionCall",
"name": "m25Screw",
"functionSourceRange": [],
"unlabeledArg": null,
"labeledArgs": {}
},
"sourceRange": []
}
},
"name": "startSketchOn",
"sourceRange": [],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"labeledArgs": {
"tool": {
"value": {
"type": "Sketch",
"value": {
"artifactId": "[uuid]"
}
"type": "GroupBegin",
"group": {
"type": "FunctionCall",
"name": "m25Screw",
"functionSourceRange": [],
"unlabeledArg": null,
"labeledArgs": {}
},
"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",
@ -513,5 +501,17 @@ description: Operations executed fillet-and-shell.kcl
}
},
"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
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "close_path",
"path_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"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]",
"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]",
"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]",
"range": [],
@ -202,17 +183,27 @@ description: Artifact commands flush_batch_on_end.kcl
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "close_path",
"path_id": "[uuid]"
"type": "move_path_pen",
"path": "[uuid]",
"to": {
"x": 4.6228,
"y": 0.0,
"z": 0.0
}
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid2d_add_hole",
"object_id": "[uuid]",
"hole_id": "[uuid]"
"type": "sketch_mode_disable"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{
@ -224,6 +215,15 @@ description: Artifact commands flush_batch_on_end.kcl
"hidden": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid2d_add_hole",
"object_id": "[uuid]",
"hole_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -251,6 +251,14 @@ description: Artifact commands flush_batch_on_end.kcl
"opposite": "None"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -262,8 +270,54 @@ description: Artifact commands flush_batch_on_end.kcl
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
"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]"
}
},
{
@ -279,30 +333,12 @@ description: Artifact commands flush_batch_on_end.kcl
"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",
"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": [],
@ -313,24 +349,6 @@ description: Artifact commands flush_batch_on_end.kcl
"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": [],
@ -345,28 +363,10 @@ description: Artifact commands flush_batch_on_end.kcl
"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",
"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]"
}
}
]

View File

@ -2,12 +2,12 @@
flowchart LR
subgraph path2 [Path]
2["Path<br>[282, 374, 0]"]
3["Segment<br>[282, 374, 0]"]
4[Solid2d]
4["Segment<br>[282, 374, 0]"]
6[Solid2d]
end
subgraph path5 [Path]
5["Path<br>[437, 529, 0]"]
6["Segment<br>[437, 529, 0]"]
subgraph path3 [Path]
3["Path<br>[437, 529, 0]"]
5["Segment<br>[437, 529, 0]"]
7[Solid2d]
end
1["Plane<br>[199, 218, 0]"]
@ -18,22 +18,22 @@ flowchart LR
12["SweepEdge Opposite"]
13["SweepEdge Adjacent"]
1 --- 2
1 --- 5
2 --- 3
2 ---- 8
1 --- 3
2 --- 4
3 --- 9
3 --- 12
3 --- 13
3 x--> 10
5 --- 6
5 --- 7
2 --- 6
2 ---- 8
3 --- 5
3 --- 7
4 --- 9
4 x--> 10
4 --- 12
4 --- 13
8 --- 9
8 --- 10
8 --- 11
8 --- 12
8 --- 13
12 <--x 9
12 <--x 11
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]",
"range": [],
@ -97,6 +90,13 @@ description: Artifact commands function_sketch.kcl
"type": "sketch_mode_disable"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -183,6 +183,14 @@ description: Artifact commands function_sketch.kcl
"opposite": "None"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -194,8 +202,108 @@ description: Artifact commands function_sketch.kcl
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
"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]"
}
},
{
@ -211,30 +319,12 @@ description: Artifact commands function_sketch.kcl
"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",
"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": [],
@ -249,39 +339,12 @@ description: Artifact commands function_sketch.kcl
"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",
"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": [],
@ -296,18 +359,10 @@ description: Artifact commands function_sketch.kcl
"cmdId": "[uuid]",
"range": [],
"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_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
@ -320,43 +375,6 @@ description: Artifact commands function_sketch.kcl
"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": [],
@ -371,28 +389,10 @@ description: Artifact commands function_sketch.kcl
"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",
"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]"
}
}
]

View File

@ -17,36 +17,36 @@ flowchart LR
13["Cap Start"]
14["Cap End"]
15["SweepEdge Opposite"]
16["SweepEdge Adjacent"]
16["SweepEdge Opposite"]
17["SweepEdge Opposite"]
18["SweepEdge Adjacent"]
19["SweepEdge Opposite"]
18["SweepEdge Opposite"]
19["SweepEdge Adjacent"]
20["SweepEdge Adjacent"]
21["SweepEdge Opposite"]
21["SweepEdge Adjacent"]
22["SweepEdge Adjacent"]
1 --- 2
2 --- 3
2 --- 4
2 --- 5
2 --- 6
2 ---- 8
2 --- 7
2 ---- 8
3 --- 12
3 --- 21
3 --- 22
3 x--> 13
4 --- 11
4 --- 19
4 --- 20
3 --- 17
3 --- 20
4 --- 10
4 x--> 13
5 --- 10
5 --- 17
5 --- 18
4 --- 18
4 --- 21
5 --- 9
5 x--> 13
6 --- 9
6 --- 15
6 --- 16
5 --- 15
5 --- 22
6 --- 11
6 x--> 13
6 --- 16
6 --- 19
8 --- 9
8 --- 10
8 --- 11
@ -62,19 +62,19 @@ flowchart LR
8 --- 21
8 --- 22
15 <--x 9
15 <--x 14
16 <--x 9
16 <--x 12
17 <--x 10
17 <--x 14
18 <--x 9
21 <--x 9
22 <--x 9
18 <--x 10
19 <--x 11
19 <--x 14
20 <--x 10
20 <--x 11
21 <--x 12
21 <--x 14
21 <--x 10
16 <--x 11
19 <--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
---
[
{
"type": "GroupBegin",
"group": {
"type": "FunctionCall",
"name": "box",
"functionSourceRange": [],
"unlabeledArg": null,
"labeledArgs": {}
},
"sourceRange": []
},
{
"labeledArgs": {
"planeOrSolid": {
@ -61,6 +50,17 @@ description: Operations executed function_sketch.kcl
"sourceRange": []
}
},
{
"type": "GroupBegin",
"group": {
"type": "FunctionCall",
"name": "box",
"functionSourceRange": [],
"unlabeledArg": null,
"labeledArgs": {}
},
"sourceRange": []
},
{
"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]",
"range": [],
@ -97,6 +90,13 @@ description: Artifact commands function_sketch_with_position.kcl
"type": "sketch_mode_disable"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -183,6 +183,14 @@ description: Artifact commands function_sketch_with_position.kcl
"opposite": "None"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -194,8 +202,108 @@ description: Artifact commands function_sketch_with_position.kcl
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
"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]"
}
},
{
@ -211,30 +319,12 @@ description: Artifact commands function_sketch_with_position.kcl
"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",
"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": [],
@ -249,39 +339,12 @@ description: Artifact commands function_sketch_with_position.kcl
"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",
"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": [],
@ -296,18 +359,10 @@ description: Artifact commands function_sketch_with_position.kcl
"cmdId": "[uuid]",
"range": [],
"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_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
@ -320,43 +375,6 @@ description: Artifact commands function_sketch_with_position.kcl
"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": [],
@ -371,28 +389,10 @@ description: Artifact commands function_sketch_with_position.kcl
"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",
"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]"
}
}
]

View File

@ -17,36 +17,36 @@ flowchart LR
13["Cap Start"]
14["Cap End"]
15["SweepEdge Opposite"]
16["SweepEdge Adjacent"]
16["SweepEdge Opposite"]
17["SweepEdge Opposite"]
18["SweepEdge Adjacent"]
19["SweepEdge Opposite"]
18["SweepEdge Opposite"]
19["SweepEdge Adjacent"]
20["SweepEdge Adjacent"]
21["SweepEdge Opposite"]
21["SweepEdge Adjacent"]
22["SweepEdge Adjacent"]
1 --- 2
2 --- 3
2 --- 4
2 --- 5
2 --- 6
2 ---- 8
2 --- 7
2 ---- 8
3 --- 12
3 --- 21
3 --- 22
3 x--> 13
4 --- 11
4 --- 19
4 --- 20
3 --- 17
3 --- 20
4 --- 10
4 x--> 13
5 --- 10
5 --- 17
5 --- 18
4 --- 18
4 --- 21
5 --- 9
5 x--> 13
6 --- 9
6 --- 15
6 --- 16
5 --- 15
5 --- 22
6 --- 11
6 x--> 13
6 --- 16
6 --- 19
8 --- 9
8 --- 10
8 --- 11
@ -62,19 +62,19 @@ flowchart LR
8 --- 21
8 --- 22
15 <--x 9
15 <--x 14
16 <--x 9
16 <--x 12
17 <--x 10
17 <--x 14
18 <--x 9
21 <--x 9
22 <--x 9
18 <--x 10
19 <--x 11
19 <--x 14
20 <--x 10
20 <--x 11
21 <--x 12
21 <--x 14
21 <--x 10
16 <--x 11
19 <--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
---
[
{
"type": "GroupBegin",
"group": {
"type": "FunctionCall",
"name": "box",
"functionSourceRange": [],
"unlabeledArg": null,
"labeledArgs": {}
},
"sourceRange": []
},
{
"labeledArgs": {
"planeOrSolid": {
@ -61,6 +50,17 @@ description: Operations executed function_sketch_with_position.kcl
"sourceRange": []
}
},
{
"type": "GroupBegin",
"group": {
"type": "FunctionCall",
"name": "box",
"functionSourceRange": [],
"unlabeledArg": null,
"labeledArgs": {}
},
"sourceRange": []
},
{
"type": "GroupEnd"
}

View File

@ -54,6 +54,14 @@ description: Artifact commands helix_ccw.kcl
"hide": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "close_path",
"path_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"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]",
"range": [],
@ -126,8 +107,27 @@ description: Artifact commands helix_ccw.kcl
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "close_path",
"path_id": "[uuid]"
"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]",
"range": [],
"command": {
"type": "start_path"
}
},
{
@ -157,13 +157,6 @@ description: Artifact commands helix_ccw.kcl
"opposite": "None"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "sketch_mode_disable"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -172,6 +165,40 @@ description: Artifact commands helix_ccw.kcl
"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]",
"range": [],
@ -181,34 +208,6 @@ description: Artifact commands helix_ccw.kcl
"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": [],
@ -223,9 +222,10 @@ description: Artifact commands helix_ccw.kcl
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{

View File

@ -14,18 +14,18 @@ flowchart LR
10["SweepEdge Adjacent"]
1 --- 2
2 --- 3
2 ---- 5
2 --- 4
2 ---- 5
3 --- 6
3 x--> 7
3 --- 9
3 --- 10
3 x--> 7
5 --- 6
5 --- 7
5 --- 8
5 --- 9
5 --- 10
9 <--x 6
9 <--x 8
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]",
"range": [],
@ -97,6 +90,13 @@ description: Artifact commands helix_simple.kcl
"type": "sketch_mode_disable"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{
"cmdId": "[uuid]",
"range": [],

File diff suppressed because it is too large Load Diff

View File

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

View File

@ -5571141,6 +5571141,14 @@ description: Artifact commands import_async.kcl
"hide": true
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "close_path",
"path_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"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]",
"range": [],
@ -5571213,8 +5571194,27 @@ description: Artifact commands import_async.kcl
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "close_path",
"path_id": "[uuid]"
"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]",
"range": [],
"command": {
"type": "start_path"
}
},
{
@ -5571244,13 +5571244,6 @@ description: Artifact commands import_async.kcl
"opposite": "None"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "sketch_mode_disable"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -5571259,6 +5571252,40 @@ description: Artifact commands import_async.kcl
"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]",
"range": [],
@ -5571268,34 +5571295,6 @@ description: Artifact commands import_async.kcl
"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": [],
@ -5571310,77 +5571309,10 @@ description: Artifact commands import_async.kcl
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
"edge_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"
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
@ -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]",
"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]",
"range": [],
@ -5574881,15 +5574881,15 @@ description: Artifact commands import_async.kcl
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "sketch_mode_disable"
"type": "object_bring_to_front",
"object_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
"type": "sketch_mode_disable"
}
},
{
@ -5574934,13 +5574934,6 @@ description: Artifact commands import_async.kcl
"planar_normal": null
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -5574961,6 +5574954,13 @@ description: Artifact commands import_async.kcl
"type": "sketch_mode_disable"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -5575093,6 +5575093,14 @@ description: Artifact commands import_async.kcl
"opposite": "None"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -5575104,8 +5575112,108 @@ description: Artifact commands import_async.kcl
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
"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]"
}
},
{
@ -5575121,30 +5575229,12 @@ description: Artifact commands import_async.kcl
"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",
"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": [],
@ -5575159,39 +5575249,12 @@ description: Artifact commands import_async.kcl
"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",
"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": [],
@ -5575206,18 +5575269,10 @@ description: Artifact commands import_async.kcl
"cmdId": "[uuid]",
"range": [],
"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_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
@ -5575230,43 +5575285,6 @@ description: Artifact commands import_async.kcl
"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": [],
@ -5575281,30 +5575299,12 @@ description: Artifact commands import_async.kcl
"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",
"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": [],

View File

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

File diff suppressed because it is too large Load Diff

View File

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

View File

@ -2,31 +2,4 @@
source: kcl-lib/src/simulation_tests.rs
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
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]",
"range": [],
@ -97,6 +90,13 @@ description: Artifact commands import_function_not_sketch.kcl
"type": "sketch_mode_disable"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "start_path"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -224,6 +224,14 @@ description: Artifact commands import_function_not_sketch.kcl
"path_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -253,8 +261,216 @@ description: Artifact commands import_function_not_sketch.kcl
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "object_bring_to_front",
"object_id": "[uuid]"
"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]"
}
},
{
"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]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_opposite_edge",
"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": [],
@ -308,39 +506,12 @@ description: Artifact commands import_function_not_sketch.kcl
"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",
"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": [],
@ -355,39 +526,12 @@ description: Artifact commands import_function_not_sketch.kcl
"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",
"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": [],
@ -402,39 +546,12 @@ description: Artifact commands import_function_not_sketch.kcl
"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",
"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": [],
@ -449,18 +566,10 @@ description: Artifact commands import_function_not_sketch.kcl
"cmdId": "[uuid]",
"range": [],
"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_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
},
{
@ -477,39 +586,12 @@ description: Artifact commands import_function_not_sketch.kcl
"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",
"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_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -524,39 +606,12 @@ description: Artifact commands import_function_not_sketch.kcl
"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",
"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_all_edge_faces",
"object_id": "[uuid]",
"edge_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -567,43 +622,6 @@ description: Artifact commands import_function_not_sketch.kcl
"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": [],
@ -618,28 +636,10 @@ description: Artifact commands import_function_not_sketch.kcl
"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",
"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]"
}
}
]

View File

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

View File

@ -2,106 +2,4 @@
source: kcl-lib/src/simulation_tests.rs
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
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "close_path",
"path_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"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]",
"range": [],
@ -126,8 +107,27 @@ description: Artifact commands import_side_effect.kcl
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "close_path",
"path_id": "[uuid]"
"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]",
"range": [],
"command": {
"type": "start_path"
}
}
]

View File

@ -2,20 +2,4 @@
source: kcl-lib/src/simulation_tests.rs
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
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "close_path",
"path_id": "[uuid]"
}
},
{
"cmdId": "[uuid]",
"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]",
"range": [],
@ -150,8 +131,27 @@ description: Artifact commands import_whole.kcl
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "close_path",
"path_id": "[uuid]"
"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]",
"range": [],
"command": {
"type": "start_path"
}
},
{
@ -181,13 +181,6 @@ description: Artifact commands import_whole.kcl
"opposite": "None"
}
},
{
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "sketch_mode_disable"
}
},
{
"cmdId": "[uuid]",
"range": [],
@ -196,6 +189,40 @@ description: Artifact commands import_whole.kcl
"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]",
"range": [],
@ -205,34 +232,6 @@ description: Artifact commands import_whole.kcl
"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": [],
@ -247,9 +246,10 @@ description: Artifact commands import_whole.kcl
"cmdId": "[uuid]",
"range": [],
"command": {
"type": "solid3d_get_all_edge_faces",
"type": "solid3d_get_opposite_edge",
"object_id": "[uuid]",
"edge_id": "[uuid]"
"edge_id": "[uuid]",
"face_id": "[uuid]"
}
}
]

View File

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

View File

@ -12,53 +12,6 @@ description: Operations executed import_whole.kcl
},
"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"
}

File diff suppressed because it is too large Load Diff

View File

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

View File

@ -4,15 +4,19 @@ description: Operations executed intersect_cubes.kcl
---
[
{
"type": "GroupBegin",
"group": {
"type": "FunctionCall",
"name": "cube",
"functionSourceRange": [],
"unlabeledArg": null,
"labeledArgs": {}
"labeledArgs": {
"planeOrSolid": {
"value": {
"type": "Plane",
"artifact_id": "[uuid]"
},
"sourceRange": []
}
},
"name": "startSketchOn",
"sourceRange": [],
"type": "StdLibCall",
"unlabeledArg": null
},
{
"labeledArgs": {
@ -61,35 +65,6 @@ description: Operations executed intersect_cubes.kcl
"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": {
"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": {
@ -152,5 +146,11 @@ description: Operations executed intersect_cubes.kcl
"sourceRange": [],
"type": "StdLibCall",
"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
---
[
{
"type": "GroupBegin",
"group": {
"type": "FunctionCall",
"name": "rail8020",
"functionSourceRange": [],
"unlabeledArg": null,
"labeledArgs": {}
},
"sourceRange": []
},
{
"labeledArgs": {
"planeOrSolid": {
@ -294,6 +283,17 @@ description: Operations executed 80-20-rail.kcl
},
"sourceRange": []
},
{
"type": "GroupBegin",
"group": {
"type": "FunctionCall",
"name": "rail8020",
"functionSourceRange": [],
"unlabeledArg": null,
"labeledArgs": {}
},
"sourceRange": []
},
{
"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": {
"type": "Module",
"value": 10
"value": 11
},
"fanHousing": {
"type": "Module",
@ -13,6 +13,6 @@ description: Variables in memory after executing axial-fan.kcl
},
"motor": {
"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