Skip to content

Commit d300dc1

Browse files
committed
Add input co-ordinates to STEP import options
1 parent e4a7772 commit d300dc1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

modeling-cmds/src/format/step.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ pub mod import {
1515
#[cfg_attr(feature = "ts-rs", derive(ts_rs::TS))]
1616
#[cfg_attr(feature = "ts-rs", ts(export_to = "ModelingCmd.ts"))]
1717
pub struct Options {
18+
/// Co-ordinate system of input data.
19+
///
20+
/// Defaults to the [KittyCAD co-ordinate system].
21+
///
22+
/// [KittyCAD co-ordinate system]: ../coord/constant.KITTYCAD.html
23+
pub coords: coord::System,
24+
1825
/// Splits all closed faces into two open faces.
1926
///
2027
/// Defaults to `false` but is implicitly `true` when importing into the engine.

0 commit comments

Comments
 (0)