KCL: Geometry debug tests - #12450
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
So far when you run you get: |
|
Now you get a nicer table, and it shows both the KCL view of each segment, and the Engine view. |
1faabb1 to
4251216
Compare
Merging this PR will not alter performance
Comparing Footnotes
|
984e86e to
e0a46b3
Compare
e1007af to
56f03af
Compare
Goal: show how a profile is represented in KCL, engine, toolpaths. Currently it shows the KCL representation.
56f03af to
8dec133
Compare
| #[tokio::test] | ||
| async fn simple_rectangle() { | ||
| let test = Test::new("rectangle", "sketch001"); | ||
| execute_test(&test).await; |
There was a problem hiding this comment.
Do we want to assert any of the data this prints? Or is this more of a testing debug module?
There was a problem hiding this comment.
This is more of a test that it all works and can receive the data, I don't care about the specific data found here.
should output data about the profiles in a KCL program, including how they're represented in KCL, in the engine, and in toolpaths.
It looks like this:
The OBJ data can be copied into the toolpaths repo and interactively viewed in their debugging tools.
Once this has been used a bit, and proven to be useful, we'll port it to the CLI. That way customers can use this and send us redacted data, or so that we can run it in a customer environment.
Part of #12477