cadquery icon indicating copy to clipboard operation
cadquery copied to clipboard

feat: Enhance vis.py show routine

Open winksaville opened this issue 7 months ago • 4 comments

  • Add parameters azimuth viewup and clipping_range to allow for improved control of the rendering.
  • Always call ResetCamera early so the camera is in a known state before applying user defined parameters, some of which are relative.

winksaville avatar Jun 03 '25 19:06 winksaville

I've added this per the suggestion from @adam-urbanczyk in "Enhance show in vis.py" discussion #1844.

winksaville avatar Jun 03 '25 20:06 winksaville

Codecov Report

:white_check_mark: All modified and coverable lines are covered by tests. :white_check_mark: Project coverage is 95.77%. Comparing base (f07e7e0) to head (e4512c4). :warning: Report is 20 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1855      +/-   ##
==========================================
+ Coverage   95.66%   95.77%   +0.10%     
==========================================
  Files          28       29       +1     
  Lines        7431     7856     +425     
  Branches     1122     1183      +61     
==========================================
+ Hits         7109     7524     +415     
+ Misses        193      192       -1     
- Partials      129      140      +11     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov[bot] avatar Jun 03 '25 20:06 codecov[bot]

Anyone have any thoughts on this PR?

winksaville avatar Jun 09 '25 16:06 winksaville

Pls give it some time.

adam-urbanczyk avatar Jun 09 '25 17:06 adam-urbanczyk