Skip to content

Conversation

sophiedeziel
Copy link
Collaborator

@sophiedeziel sophiedeziel commented Oct 14, 2024

Work to make this branch mergable is tracked in #221

This is the PR to track the diff between the temporary v3.x branch and develop.
All changes in this branch are related to the refactor to split out parsing/interpreting from WebGLPreview and introducing Job and Path primitives.

This refactor had to be done incrementally because it affected most current features. Each PR addresses a specific feature to bring it to the closest state possible to the v2 behavior.

The only feature that was scoped out is the highlight of the last layer and segment.

@sophiedeziel
Copy link
Collaborator Author

sophiedeziel commented Oct 14, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @sophiedeziel and the rest of your teammates on Graphite Graphite

Copy link

github-actions bot commented Oct 14, 2024

Visit the preview URL for this PR (updated for commit 6de08a8):

https://gcode-preview--pr225-v3-x-aqxp7irz.web.app

(expires Fri, 22 Nov 2024 22:17:10 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 59bd114ae4847b32c2bba0b68620b9069a3e3531

sophiedeziel and others added 11 commits October 18, 2024 21:50
* Interpreter prototype

* arc support

* units

* Simplify toolchange

* travelType

* remove setInches

* remove targetId

* layers

* render lines

* extract machine

* wip

* Make it work with rerenders

* Remove some layer references

* Rename Machine to Job

* Simplify parsing attributes

* Am I going too far?

* get rid of geometries once used

* the geometries disposition is handled by the batchMesh

* Fix tests

* Bring back some code

* Bring back progressive rendering

* update dev-gui with job

* Test Path

* First interpreter tests

* Test G0 and G1

* Test everything by G2

* Adding missing codes

* Minimize diff on app.js

* Leave G21 for a future PR

* Job tests (and fixes!)

* Keep G28 for a separate PR

* Improve tests

* Code improvements

* Retractions are travel
* Introduce the traveltype indexer

* Add the layer indexer

* don't clear for all types

* Fix the calls to the getters

* Cleaner error management

* Fix all tests
* Bring back the tolerance logic

* Simplify the options
* Remove the code enum (#229)

* Bring back a representation of layers

* No need to expose isPlanar now

* Make layers 100% progressive rendering ready

* Layer number, height and z

* fix the splitting logic
* Layer number, height and z

* fix the splitting logic

* partial rendering with clipping

* Smoother plane movement

* Accurate position of the planes

* Clipping works

* the clipping is done at the edges of the geometry

* Tool indexer for color optimizations

* Clipping that works with lines

* Fix a bug that rendered only every other line

* remove an accidentally duplicated test out of context

* Layers work for vase mode

* Progressive rendering

* remove plane helpers

* Single layer mode

* Fix the geometries height

* Polishing details

* Polishing details

* Test the tool indexer

* Fix clipping and progressive rendering for small files
@sophiedeziel sophiedeziel marked this pull request as ready for review October 23, 2024 01:40
@remcoder
Copy link
Member

remcoder commented Oct 23, 2024

Wow! It's ready! What an amazing achievement! Since we've already discussed many aspects and to not keep you waiting I'll just summarize my first findings based on some black box testing:

But apart from this..... 🎉 everything Just Works™! 🎉

@sophiedeziel
Copy link
Collaborator Author

start layer slider doesn't seem to work
The LineWidth fix stills need to be ported from the v2 branch

I am pretty sure I addressed both recently! Let me see if a commit got lost or if I hallucinated!

@sophiedeziel
Copy link
Collaborator Author

sophiedeziel commented Oct 23, 2024

✅ Did fix start layer
✅ Ported the lineWidth fix in #234 (because I had to implement clipping for lines)
☑️ Build volume fix here: #245

@sophiedeziel sophiedeziel merged commit 731849f into develop Oct 24, 2024
5 checks passed
@sophiedeziel sophiedeziel deleted the v3.x branch October 24, 2024 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants