Rename SolveCraft to SolidCraft everywhere, with compatibility shims (#389)
* WIP deep rename (not for push) * WIP2 * WIP3 * WIP4 wxs fix * rustfmt * Rename the remaining identifiers in merged crash-report code Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RjGw4gA5ZvKrU8MQP6sBgT --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
27415e4dd7
commit
296683229d
464 files changed
+3408
-2956
No files matched your search
@@ -2,16 +2,16 @@ use super::{Tool, preview_curve};
|
||||
use crate::scenario::Harness;
|
||||
use crate::viewport::Proj;
|
||||
use serde_json::{Value, json};
|
||||
use solvecraft_engine::geom::{Plane, Vec2, Vec3};
|
||||
use solvecraft_engine::render::{Camera, Mat4};
|
||||
use solvecraft_engine::sketch::Sketch;
|
||||
use solidcraft_engine::geom::{Plane, Vec2, Vec3};
|
||||
use solidcraft_engine::render::{Camera, Mat4};
|
||||
use solidcraft_engine::sketch::Sketch;
|
||||
|
||||
fn tool(command: &str, points: &[[f64; 2]]) -> Tool {
|
||||
let mut tool = Tool::for_command(command).unwrap();
|
||||
tool.pts = points.iter().map(|p| (Vec2::new(p[0], p[1]), None)).collect();
|
||||
tool
|
||||
}
|
||||
fn spans(sk: &Sketch) -> Vec<solvecraft_engine::geom::Seg2> {
|
||||
fn spans(sk: &Sketch) -> Vec<solidcraft_engine::geom::Seg2> {
|
||||
sk.exact_segs(0).unwrap_or_else(|| sk.segs(0))
|
||||
}
|
||||
fn projection(scale: f64) -> Proj {
|
||||
|
||||
Reference in new issue
Block a user