Search found 176 matches

by Fat-Zer
Mon Sep 07, 2015 5:51 pm
Forum: Assembly
Topic: App::Part question
Replies: 59
Views: 19862

Re: App::Part question

* Undo can not circumvented, if the programmer do not open a transaction the changes will appended to the open one or a anonymous transaction will be created automatic. yes it's minor, but in this case transaction won't receive a special name... and in general it's not good to call both API's, but ...
by Fat-Zer
Sun Sep 06, 2015 7:04 pm
Forum: Developers corner
Topic: Need some help from a C++ expert (or a shrink)
Replies: 6
Views: 1434

Re: Need some help from a C++ expert (or a shrink)

I think it may be related to the fact that I am returning by reference a local variable (yes, for a normal variable there is a memory leak because the variable is destroyed upon leaving the function, so the reference points to an address with invalid/destroyed data), but according to my knowledge o...
by Fat-Zer
Sat Sep 05, 2015 7:01 pm
Forum: Assembly
Topic: DAGView
Replies: 87
Views: 27628

Re: DAGView

I think if you change the order of features in the vector returned by DocumentObject::getOutList(), you can control the order of children in the DAG view. This might be a good temporary solution. Hmm... this one doesn't feel right... Firstly, it's not a virtual and IMHO it's not intended to be, bec...
by Fat-Zer
Sat Sep 05, 2015 3:47 am
Forum: Assembly
Topic: DAGView
Replies: 87
Views: 27628

Re: DAGView

Just wondering about future use cases... Is the DAGView a general implementation and may display arbitrary graph Data? or at least arbitrary set of ViewProviders/DocumentObjects? or is it nailed to display App::Document content? No, Its pretty rigid in it's present form. What are you thinking about...
by Fat-Zer
Sat Sep 05, 2015 2:35 am
Forum: Open discussion
Topic: Forum feature request: [s] tag
Replies: 5
Views: 930

Re: Forum feature request: [s] tag

The phpbb site seems down. Can you get the bbcode that's needed? I can add it easily. Works for me... Quote frome there: You need to create a custom BBCode for that, an example would be: To use any of the following custom BBCodes, navigate to the Posting => BBCodes section of the phpBB3 administrat...
by Fat-Zer
Sat Sep 05, 2015 2:27 am
Forum: Assembly
Topic: DAGView
Replies: 87
Views: 27628

Re: DAGView

Just wondering about future use cases... Is the DAGView a general implementation and may display arbitrary graph Data? or at least arbitrary set of ViewProviders/DocumentObjects? or is it nailed to display App::Document content?
by Fat-Zer
Sat Sep 05, 2015 2:19 am
Forum: Assembly
Topic: App::Part question
Replies: 59
Views: 19862

Re: App::Part question

Ah, I see.. The old interface is used mainly by the Group objects in FreeCAD. The new mimic will be broader but, as you saw already, needs more love. I stopped it till I get more of the basic Assembly stuff done to really use it.. Also note that currently both of modes are slightly broken: the old ...
by Fat-Zer
Fri Sep 04, 2015 9:16 am
Forum: Assembly
Topic: App::Part question
Replies: 59
Views: 19862

Re: App::Part question

For a drag target its important to know the position of the drop and the mouse button and keys pressed. Imagine you drag a Screw out of a catalog view and drop it on a 3D object. There you maybe want to check of you hit a hole-feature and do the right positioning. Especially in Assembly I want to u...
by Fat-Zer
Fri Sep 04, 2015 7:34 am
Forum: Open discussion
Topic: Forum feature request: [s] tag
Replies: 5
Views: 930

Re: Forum feature request: [s] tag

According to this you'd need to add a custom bb code...
by Fat-Zer
Fri Sep 04, 2015 1:41 am
Forum: Assembly
Topic: A views/baseplane mess
Replies: 4
Views: 2013

Re: A views/baseplane mess

I've already fixed that for Origin's planes in my branch if you wonder... I'm unsure now if we should to do that for non-PartDesign sketches, but it will be a single line fix and can be discussed later... Is there a risk to break file compatibility here? File designed in current assembly branch won'...