Sketch-bounds OCCT shader grid with padding and tools/ dev helpers#155
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Aspect_GridParamson the sketch plane and refreshes when sketch geometry changes.grid_graphic_x_size/grid_graphic_y_sizewithgrid_padding; legacy JSON loads old half-extent as padding.tools/pimpl_gen.py(PIMPL forwarding stub generator), movepbf-to-pngscripts totools/, and showtools/in the CMake IDE tree. Extractezy_geomtypes tosrc/utl_geom_boost.inl.Closes #154
Files changed
src/occt_view.cpp,src/occt_view.h— shader grid layout, padding-based sizing, refresh hooksrc/gui_settings.cpp— Settings UI and JSON read/write forgrid_paddingsrc/sketch.cpp— refresh grid after face updates on current sketchdocs/usage-settings.md,res/ezycad_settings.json— user docs and defaultstools/pimpl_gen.py,tools/pbf-to-png.*— dev helpers (moved fromscripts/)CMakeLists.txt— IDE visibility fortools/src/utl_geom.h,src/utl_geom_boost.inl— geometry types extracted to.inlTest plan
EzyCad,EzyCad_libgrid_graphic_x_sizeonlypython tools/pimpl_gen.py --list src/<header>.hNotes
tools/__pycache__/pimpl_gen.cpython-312.pycshould probably be dropped from the branch and added to.gitignorebefore merge.agents/issues/017-...,agents/prs/012-...) on this branch describe merged sketch-undo work (Sketch undo: stable sketch ids for delta resolve, operation-axis undo, and undo stack byte budget #150/Sketch undo: stable sketch ids for delta resolve, operation-axis undo, and undo stack byte budget #151) and should be removed or replaced in a follow-up.