Search found 1114 matches

Go to advanced search

by Joel_graff
Tue Apr 23, 2019 1:34 am
Forum: Developers corner
Topic: Bug in Gui.getMarkerIndex()?`
Replies: 3
Views: 83

Re: Bug in Gui.getMarkerIndex()?`

IIRC that function was just copied over from a dirty hack I had made in Draft... https://github.com/FreeCAD/FreeCAD/blob ... .cpp#L1260 We should indeed extend it to also support the proper symbol names. Gave it a shot and I think I have that working. My C++ skills were pretty rusty, so it took me ...
by Joel_graff
Mon Apr 22, 2019 9:35 pm
Forum: Open discussion
Topic: Civil engineering feature implementation (Transportation Engineering)
Replies: 622
Views: 38161

Re: Civil engineering feature implementation (Transportation Engineering)

VERY interesting improvements! I really like this stuff that appears when hovering on an object... We should use that more. It's really the result of needing arcs and splines in n architecture optimized for wires. The issue is that I need better visual tessellation than I can get with arcs / spline...
by Joel_graff
Mon Apr 22, 2019 7:24 pm
Forum: Developers corner
Topic: Bug in Gui.getMarkerIndex()?`
Replies: 3
Views: 83

Re: Bug in Gui.getMarkerIndex()?`

IIRC that function was just copied over from a dirty hack I had made in Draft... https://github.com/FreeCAD/FreeCAD/blob ... .cpp#L1260 We should indeed extend it to also support the proper symbol names. That looks like some juicy, low-hanging fruit... :) Normally, I'd go after in a hurry, but I do...
by Joel_graff
Mon Apr 22, 2019 3:13 pm
Forum: Python scripting and macros
Topic: Access Violation error when deleting geometry created in a command
Replies: 2
Views: 92

Re: Access Violation error when deleting geometry created in a command

In Coin, there is something called scene traversal, which is basically a moment during which the whole scenegraph is being scanned by Coin. During a scene traversal, no node can be added or removed. Been a while since I've dealt with scenegraphs, so I've forgotten most of what I knew. :) That makes...
by Joel_graff
Mon Apr 22, 2019 1:41 pm
Forum: Python scripting and macros
Topic: Bug? Clicking on an edit tracker causes a segfault / unhandled exception
Replies: 2
Views: 70

Re: Clicking on an edit tracker causes a segfault.

I've tested it on my Win7 machine. It doesn't segfault, but instead, gives me this: Unhandled Base::Exception caught when notifying observer. The error message is: Access violation Unhandled Base::Exception caught in GUIApplication::notify. The error message is: Access violation Unhandled Base::Exce...
by Joel_graff
Sun Apr 21, 2019 10:57 pm
Forum: Python scripting and macros
Topic: Call a second window and return a value
Replies: 1
Views: 71

Re: Call a second window and return a value

i have imported the second window and called the method, the value it didn't return to the first window Off-hand, I really have no idea why it doesn't work. I don't typically use Qt forms in this fashion. I would suggest either starting with an extremely minimal example, testing just the import tha...
by Joel_graff
Sun Apr 21, 2019 1:59 am
Forum: Python scripting and macros
Topic: Bug? Clicking on an edit tracker causes a segfault / unhandled exception
Replies: 2
Views: 70

Bug? Clicking on an edit tracker causes a segfault / unhandled exception

I'm working on a command that uses DraftTrackers.editTracker. Below is example code that demonstrates my issue. I create an editTracker and make it visible (it's located at the origin). I left click on it and FreeCAD segfaults. I'm sure I'm missing something obvious, but it's new territory for me. :...
by Joel_graff
Sat Apr 20, 2019 3:30 pm
Forum: Developers corner
Topic: Bug in Gui.getMarkerIndex()?`
Replies: 3
Views: 83

Bug in Gui.getMarkerIndex()?`

So I'm trying to alter the marker for a custom tracker I'm writing in Python. I had to do a little digging to determine what the available styles and sizes were. Strangely, the Gui.getMarkerIndex() call seems broken compared to what should be exposed via https://github.com/FreeCAD/FreeCAD/blob/maste...
by Joel_graff
Sat Apr 20, 2019 12:00 pm
Forum: Open discussion
Topic: Feature Request: Z / Depth parameter for ViewObjects
Replies: 6
Views: 178

Re: Feature Request: Z / Depth parameter for ViewObjects

I think this is not so easy to do. You would not want to give the geometry a real z offset, as this could lead to all kind of trouble with accuracy later on. So one would need to manipulate the visuals only. In coin there is a node for that: https://grey.colorado.edu/coin3d/classS ... ml#details Bu...
by Joel_graff
Fri Apr 19, 2019 9:09 pm
Forum: Open discussion
Topic: Feature Request: Z / Depth parameter for ViewObjects
Replies: 6
Views: 178

Re: Feature Request: Z / Depth parameter for ViewObjects

"Same level" is for me, well, same level.What do you need this for? If I have 2D geometry which overlaps, they z-fight. It would be nice to be able to specify that one has render priority over the other. In my current use case, I'm creating a tool that manipulates geometry and overlays the 'propose...

Go to advanced search