question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

It seems that convex edges are displayed/highlighted with a gray line, but concave edges are not.

In example, with this code the edges between the two extrusions are not displayed:

from cadquery import Workplane

Workplane("XY").rect(2, 2).extrude(1).faces(">Z").rect(1, 1).extrude(1)

Screenshot from 2020-01-15 22-33-57

Is that the expected behavior? How could it be fixed?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
bernhard-42commented, Feb 9, 2020

Hi @Peque I realised that I would love to have different defaults based on what I currently do. So I have added a kind of defaults management to jupyter-cadquery. You now can globally set your preferences:

import cadquery as cq
from jupyter_cadquery.cadquery import Part, Assembly, show
from jupyter_cadquery import set_defaults, get_defaults, reset_defaults

set_defaults(axes=True, grid=True, axes0=True, transparent=True, cad_width=1000, position=(1,1,0))

Every following rendering will use these defaults. And you also can use show(cad_objs, grid=False) to overwrite the default for one specific plot.

It is available in version 0.9.5 and I hope that addresses your “philosophical preference” 😉

1reaction
bernhard-42commented, Jan 18, 2020

Got it. To be honest, I also don’t know what I like more. I think I changed it because I played with some models that were far away from the origin and then I did not see grid or axis without zooming.

Let me play with it some more to find out my own preference …

Read more comments on GitHub >

github_iconTop Results From Across the Web

Edges of the Desktop Are Cut Off on Display - Intel
Overscan is when the edges of a display are trimmed. Overscan can occur when a PC is connected to an external display, such...
Read more >
Monitor's Display Cut Off On The Edges? Try These Fixes
Overscaling/overscanning is what causes your monitor to cut off the edges of your screen, giving an apparent zoomed-in effect. Basically, it ...
Read more >
Best Phones With Curved Edge Display - Smartprix
Google Pixel 6 Pro Vivo X70 Pro+ Xiaomi Mi 11 Ultra Oppo Find X3 Pro iQOO 9 Pro Realme GT Master Explorer Edition...
Read more >
edge to edge monitor - Amazon.com
Amazon.com: edge to edge monitor. ... IPS Premium Computer Monitor with Built in Speaker, HDRi, HDMI, Freesync, Eye-Care Technology and Edge to Edge...
Read more >
External Monitor Display is Cut Off on All Edges
I have extended my Surface Windows 10 display to an external HD TV monitor but all 4 edges are cut off as if...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found