Search found 654 matches

Go to advanced search

by logari81
Wed Sep 11, 2013 8:25 am
Forum: Open discussion
Topic: Sketcher ideas
Replies: 34
Views: 6265

Re: Sketcher ideas

by logari81
Tue Sep 10, 2013 12:03 pm
Forum: Open discussion
Topic: Sketcher ideas
Replies: 34
Views: 6265

Re: Sketcher ideas

triplus, the discussion about opencl is like considering buying a ferrari because your bicycle is too slow for you. There are intermediate steps between Eigen::FullPivHouseholderQR and an OpenCL algorithm. Like in the case of Ferrari its all about the cost, you get nothing for free. In practice you ...
by logari81
Sun Sep 08, 2013 11:55 am
Forum: Open discussion
Topic: Sketcher ideas
Replies: 34
Views: 6265

Re: Sketcher ideas

both last two suggestions are already possible using construction lines. Construction lines do not make the sketch any heavier, feel free to use them.
by logari81
Tue Sep 03, 2013 5:53 pm
Forum: Developers corner
Topic: Flipped arcs in DXF export - suggested fix
Replies: 29
Views: 7184

Re: Flipped arcs in DXF export - suggested fix

shoogen wrote:OCC automatically converts every arc to CCW by inverting the axis. We simply need to get this information back.
I do not say that one has to handle arcs himself, if there is already an off-the-shelf solution. But if one needs to handle arcs himself, then there is only one robust way.
by logari81
Tue Sep 03, 2013 3:14 pm
Forum: Developers corner
Topic: Flipped arcs in DXF export - suggested fix
Replies: 29
Views: 7184

Re: Flipped arcs in DXF export - suggested fix

I always see programmers struggling with arcs. Arcs are easy, just follow the rule below: Instead of trying to cover any possible orientation of an arc, just rotate the arc to a well defined and easy to handle orientation. Then solve the problem you want to solve and then rotate the results back to ...
by logari81
Fri Aug 30, 2013 3:09 pm
Forum: Help on using FreeCAD
Topic: Sketcher - Keeping shape features when applying a constraint
Replies: 21
Views: 2546

Re: Sketcher - Keeping shape features when applying a constraint

@wmayer, no the self-diagnostics of the sketcher are slow but quite reliable, there are no parallel constraints, they are equal length constraints.
by logari81
Fri Aug 30, 2013 2:49 pm
Forum: Help on using FreeCAD
Topic: Sketcher - Keeping shape features when applying a constraint
Replies: 21
Views: 2546

Re: Sketcher - Keeping shape features when applying a constraint

this in an acknowledged issue there is a bug report about sketches with multiple solutions. Not so easy to solve. Changing the datum value in small steps from its original value is a workaround.
by logari81
Wed Aug 28, 2013 10:04 am
Forum: Developers corner
Topic: How to highlight datum planes
Replies: 12
Views: 1649

Re: How to highlight datum planes

the code that does the highlighting should be in SoBrapeFaceSet (and also SoBrepShape). I suggested to take a look at Part::ViewProviderExt as an example of how SoBrepFaceSet is used. Put a break point in SoBrapeFaceSet and it is easy to find out how exactly highlighting works.
by logari81
Sun Aug 25, 2013 2:14 pm
Forum: Developers corner
Topic: How to highlight datum planes
Replies: 12
Views: 1649

Re: How to highlight datum planes

what do the following functions return on your viewprovider:

Code: Select all

useNewSelectionModel()
isSelectable()
?

if you use the SoFCUnifiedSelection.h model you shouldn't have to specify any highlight color or anything. I am 99% sure that SoBrepFaceSet supports this model and it should work by default.
by logari81
Sat Aug 24, 2013 7:47 am
Forum: Developers corner
Topic: How to highlight datum planes
Replies: 12
Views: 1649

Re: How to highlight datum planes

I think I had the opposite problem when I implemented the ghost visualization of rejected pattern transformations.

As far as I remember I had to use SoIndexedFaceSet instead of SoBrepFaceSet. So you probably have to do the opposite.

Go to advanced search