Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ PCB / Package, Render, Animation, Simulation, Manufacture/CAM, Drawings.
| M12 | Release: cross-platform packages, verification and deliberate publication implemented; original current-UI demo refreshed. Trusted distribution signing and broader performance work remain | in progress | 16 |
| M14 | Configurations: a table of rows (parameter expressions and feature suppressions per row) switched with config.activate (undoable, all or nothing), kept through parameter renames and feature deletes (config.configure, config.table, config.column/row/activate). Per-row body materials and appearances (library looks, custom colour/opacity and clearing overrides), undoable activation and save/reopen: done. Ordered typed configuration rules, atomic validation and structured rule editing: done. Component appearance and certified semantic face style columns, atomic preview/apply and independent-copy remapping: done. Exact constructed sketch-side and immutable imported-face lineage now preserve legacy names and reject retargeting. Left: ambiguous shifted/two-sided caps | in progress | 4 |
| M13 | Never lose work: atomic saves (temporary file, flush, rename; a crash at any moment leaves the old file or the new one) with the replaced version kept as `<file>.bak`; autosave of unsaved changes to the recovery folder every 5 minutes (preference) and after big operations, only when something changed; "Recover unsaved design?" on the next launch (`doc.recovery_list`, `doc.recover`, `doc.recovery_discard`); a kill-mid-save test (process killed while saving a 0.5 MB design 25 times). File format: `"format": "solidcraft/12"`, older formats upgraded step by step (`doc::format`), newer ones refused with a message, out-of-range numbers and broken placements refused; a corpus of designs saved by M0, components-era, joints-era and current builds (apps/solidcraft-cli/tests/corpus) that must open and evaluate as saved; damaged and hostile variants (truncation, bit flips, hostile values, removed keys, repeated features, deep nesting) never panic | done | 6 |
| M15 | Frames and weldments (#4003): structural members along 2D and 3D sketch lines, butt and mitre corners, trim to faces and bodies, end caps, gussets, cosmetic welds and a cut list. Done: the profile library (`frame.profile.list`, `frame.profile.properties`, `frame.profile.insert`): bar, round bar, rectangular and round tube, angle, channel and I-beam, each SolidCraft's own parametric definition with exact fillet arcs and exact section properties (area, centroid, second moments), tested against hand-computed values; members (`frame.member`): one body per straight line of a 2D or 3D frame sketch, following parameter edits, with a built-in profile (its dimensions parameter expressions) or a profile sketch (its drawn material by alternating nested loops), anchor, angle and mirror; each member's name kept with its line. Left: corners, trims, end caps, gussets, welds, cut list, FRAME tab and dialogs | in progress | 60 |
| M15 | Frames and weldments (#4003): structural members along 2D and 3D sketch lines, butt and mitre corners, trim to faces and bodies, end caps, gussets, cosmetic welds and a cut list. Done: the profile library (`frame.profile.list`, `frame.profile.properties`, `frame.profile.insert`): bar, round bar, rectangular and round tube, angle, channel and I-beam, each SolidCraft's own parametric definition with exact fillet arcs and exact section properties (area, centroid, second moments), tested against hand-computed values; members (`frame.member`): separate selected 2D/3D lines or circular arcs, or one continuous tangent line/arc path per physical member (#9792), following parameter edits, with a built-in profile (its dimensions parameter expressions) or a profile sketch (its drawn material by alternating nested loops), anchor, angle and mirror; each member's name kept with its line or continuous path. Left: corners, trims, end caps, gussets, welds, cut list, bend lists (#9795), flattened round-tube cope DXF templates (#9796), FRAME tab and dialogs | in progress | 60 |

M6 navigation preferences include **Touchpad**: Shift + pointer movement pans, Alt/Option +
pointer movement orbits without a mouse button, and vertical scrolling zooms. Other presets
Expand Down
9 changes: 9 additions & 0 deletions apps/solidcraft-cli/src/recipe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,15 @@ pub fn to_script(recipe: &Value) -> Result<Value, String> {
let bodies = f.get("result_bodies").cloned().unwrap_or(json!([]));
match f.get("op").and_then(Value::as_str) {
Some("sketch") => sketch_cmds(f, &mut out)?,
Some("frame_member") => {
let mut p = json!({"name": name});
for key in ["sketch", "lines", "continuous", "profile", "profile_sketch", "profiles", "anchor", "angle", "mirror", "body_name"] {
if let Some(v) = f.get(key) {
p[key] = v.clone();
}
}
out.push(json!({"command": "frame.member", "params": p}));
}
Some("extrude") => {
let mut p = json!({"sketch": profile_sketch(f), "profiles": profiles_of(f), "operation": op(f), "name": name, "body_names": bodies});
// Thin: {sketch, curves, thickness, side?, thickness2?} instead of profiles.
Expand Down
34 changes: 34 additions & 0 deletions assets/locales/pending/frame-continuous-paths.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"en": {
"ui.frame.continuous": "One Continuous Member",
"ui.frame.continuous_requires_selection": "Select connected lines and arcs in path order; turn off All Lines for one continuous member."
},
"ar": {
"ui.frame.continuous": "عنصر هيكلي واحد متصل",
"ui.frame.continuous_requires_selection": "حدّد خطوطًا وأقواسًا متصلة بترتيب المسار؛ عطّل «كل الخطوط» لإنشاء عنصر هيكلي واحد متصل."
},
"de": {
"ui.frame.continuous": "Ein durchgehendes Rahmenelement",
"ui.frame.continuous_requires_selection": "Zusammenhängende Linien und Bögen in Pfadreihenfolge auswählen; für ein durchgehendes Rahmenelement Alle Linien ausschalten."
},
"he": {
"ui.frame.continuous": "איבר מסגרת רציף אחד",
"ui.frame.continuous_requires_selection": "בחרו קווים וקשתות מחוברים לפי סדר המסלול; בטלו את ״כל הקווים״ כדי ליצור איבר מסגרת רציף אחד."
},
"ja": {
"ui.frame.continuous": "1 本の連続部材",
"ui.frame.continuous_requires_selection": "接続された線と円弧をパスの順に選択し、連続部材では「すべての線」をオフにしてください。"
},
"ko": {
"ui.frame.continuous": "하나의 연속 부재",
"ui.frame.continuous_requires_selection": "연결된 선과 원호를 경로 순서대로 선택하고 연속 부재에서는 모든 선을 끄세요."
},
"vi": {
"ui.frame.continuous": "Một phần tử khung kết cấu liên tục",
"ui.frame.continuous_requires_selection": "Chọn các đoạn thẳng và cung tròn nối tiếp theo thứ tự đường dẫn; tắt Tất cả đoạn thẳng để tạo một phần tử khung kết cấu liên tục."
},
"zh": {
"ui.frame.continuous": "单根连续构件",
"ui.frame.continuous_requires_selection": "按路径顺序选择相连的直线和圆弧;创建连续构件时请关闭所有直线。"
}
}
1 change: 1 addition & 0 deletions attribution/pending/frame-continuous-paths.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
| `assets/locales/pending/frame-continuous-paths.json` | SolidCraft contributors | Original continuous frame-member labels and translations | MIT OR Apache-2.0 |
8 changes: 6 additions & 2 deletions crates/doc/src/document.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1127,14 +1127,18 @@ pub enum FeatureKind {
#[serde(default, skip_serializing_if = "Vec::is_empty")]
targets: Vec<BodyName>,
},
/// Structural members (#4003): one body per straight line of a frame sketch (2D sketch lines
/// and 3D sketch lines), its cross-section the profile, square to the line from end to end.
/// Structural members (#4003): separate selected lines/arcs, or one continuous tangent
/// path, including exact 3D sketch arcs. The all-lines default selects straight lines.
FrameMember {
path_sketch: SketchId,
/// The lines, by curve id; none: every straight line drawn in the sketch (not
/// construction, not projected or otherwise linked, not of no length).
#[serde(default, skip_serializing_if = "Vec::is_empty")]
lines: Vec<String>,
/// The explicitly selected curves form one open, tangent line/arc chain, in selection
/// order. Otherwise each selected curve makes a separate member.
#[serde(default, skip_serializing_if = "std::ops::Not::not")]
continuous: bool,
profile: crate::frame::MemberProfile,
/// The profile point that sits on the line.
#[serde(default, skip_serializing_if = "crate::frame::Anchor::is_origin")]
Expand Down
Loading
Loading