Closed Irev-Dev closed 2 months ago
Not sure where this one might lead, we may or may not need to pair, we can talk about it tomorrow @nadr0
I have a feeling this is related to the XY plane, i.e. might not be reproducible if the plane is changed to XZ etc.
I have a feeling this is related to the XY plane, i.e. might not be reproducible if the plane is changed to XZ etc.
I believe you are correct. I was able to recreate this with my own KCL code. I do not think it is specific to Jordan's code. It is something specific with XY planes.
The engine command flow looks like
enable_sketch_mode
default_camera_get_settings
default_camera_set_orthographic
default_camera_look_at <-- throws massive errors for XY planes.
My sample KCL code
// Swap 'XY' for the different permutations
const sketch001 = startSketchOn('XY')
|> startProfileAt([0.12, 0.03], %)
|> line([-0.03, 1.02], %)
|> line([1.06, 0.03], %)
planes | engine + edit sketch synced |
---|---|
-XY |
:x: |
XY |
:x: |
-XZ |
:heavy_check_mark: |
XZ |
:heavy_check_mark: |
-YZ |
:heavy_check_mark: |
YZ |
:heavy_check_mark: |
If you go into sketch mode with Jordan's cod below (besides the fact that it doesn't draw some of the arcs properly). Camera pans stop staying in sync with the engine camera.