Search found 6139 matches

by wandererfan
Tue Apr 16, 2024 12:17 am
Forum: TechDraw
Topic: Issue #5694 Broken View
Replies: 29
Views: 2563

Re: Issue #5694 Broken View

Dimensioning should be improved by git commit 41bce2eaf4.
by wandererfan
Mon Apr 15, 2024 5:50 pm
Forum: TechDraw
Topic: API: getVertexBySelection() is broken in version 0.21.x
Replies: 9
Views: 789

Re: API: getVertexBySelection() is broken in version 0.21.x

JarvisOac wrote: Sun Apr 14, 2024 8:55 pm
You are missing the sleep() between recompute() and find_vertices().
by wandererfan
Fri Apr 12, 2024 11:37 pm
Forum: TechDraw
Topic: Issue #5694 Broken View
Replies: 29
Views: 2563

Re: Issue #5694 Broken View

user1234 wrote: Fri Apr 12, 2024 6:04 pm The dimension of the first side is wrong. See real measurement,
Yeah, it is the real value + (removed area of the break - gap width). If have a >= somewhere that should be a >.
by wandererfan
Fri Apr 12, 2024 11:28 pm
Forum: TechDraw
Topic: API: getVertexBySelection() is broken in version 0.21.x
Replies: 9
Views: 789

Re: API: getVertexBySelection() is broken in version 0.21.x

JarvisOac wrote: Fri Apr 12, 2024 9:00 pm
Is the code you posted not working after 10 seconds? Or is that just a minimal example? 1 second is enough here for the sample code.

If there is a more complex version, I'd be happy to look at it.
by wandererfan
Fri Apr 12, 2024 5:46 pm
Forum: TechDraw
Topic: Issue #5694 Broken View
Replies: 29
Views: 2563

Re: Issue #5694 Broken View

Version 0.1 of Broken View is available after git commit 74556bced8
break_not_fixedwDims.png
break_not_fixedwDims.png (10.9 KiB) Viewed 270 times
by wandererfan
Fri Apr 12, 2024 3:33 pm
Forum: TechDraw
Topic: Missing lines in TechDraw Workbench
Replies: 20
Views: 2604

Re: Missing lines in TechDraw Workbench

SLJeans wrote: Fri Apr 12, 2024 1:40 pm
user1234's suggest is the "correct" fix. For a quick and dirty workaround, use the Perspective projector with a long focal distance instead of the standard projector. Perspective sometimes works when the default does not.
perspectiveProjector.png
perspectiveProjector.png (36.97 KiB) Viewed 84 times
037_perspectiveProjector.png
037_perspectiveProjector.png (42.59 KiB) Viewed 84 times
by wandererfan
Fri Apr 12, 2024 2:54 pm
Forum: TechDraw
Topic: API: getVertexBySelection() is broken in version 0.21.x
Replies: 9
Views: 789

Re: API: getVertexBySelection() is broken in version 0.21.x

The HLR & face finding threads started as a result of doc.recompute() are not finished before the call to getVertexBySelection. Until the HLR thread completes, there is no geometry to provide a vertex. If you add a short wait it should work. The wait status methods are not exposed to Python, so...
by wandererfan
Fri Apr 12, 2024 2:24 pm
Forum: TechDraw
Topic: API: getVertexBySelection() is broken in version 0.21.x
Replies: 9
Views: 789

Re: API: getVertexBySelection() is broken in version 0.21.x

This is really odd. getVertexBySelection works from the console, but not from a macro. Will have to dig a bit on this one. >>> # doc = App.getDocument("touchedOnClickTest") >>> # obj = doc.getObject("View") >>> ### End command Std_SendToPythonConsole >>> obj <DrawViewPart object...
by wandererfan
Fri Apr 12, 2024 1:12 pm
Forum: TechDraw
Topic: Detailed view linked dimensions move
Replies: 4
Views: 427

Re: Detailed view linked dimensions move

Mejico wrote: Fri Apr 12, 2024 12:49 am
Any chance of a sample file showing the problem? It's hard to debug pictures.
by wandererfan
Tue Apr 09, 2024 12:16 pm
Forum: TechDraw
Topic: Some TechDraw observations ad therefore FRs
Replies: 9
Views: 1028

Re: Some TechDraw observations ad therefore FRs

user1234 wrote: Tue Apr 09, 2024 10:20 am Or had not the time yet.
This is the winning answer. :)