Search found 381 matches

by fosselius
Tue Aug 08, 2017 1:39 pm
Forum: Developers corner
Topic: Center of a cube
Replies: 9
Views: 3097

Re: Center of a cube

There are primitives and then there are cubes ;) i blame time-cube: http://timecube.2enp.com/ "EARTH HAS 4 CORNER SIMULTANEOUS 4-DAY TIME CUBE WITHIN SINGLE ROTATION. 4 CORNER DAYS PROVES 1 DAY 1 GOD IS TAUGHT EVIL. IGNORANCE OF TIMECUBE4 SIMPLE MATH IS RETARDATION AND EVIL EDUCATION DAMNATION....
by fosselius
Sun Aug 06, 2017 10:28 am
Forum: Developers corner
Topic: Center of a cube
Replies: 9
Views: 3097

Re: Center of a cube

Make a macro that calculates delta between current pos and shape.centerofmass, then move the object accordingly.

I have already implemented something simular and can make a macro for this later if nobody beats me to it.
by fosselius
Fri Jul 28, 2017 2:23 am
Forum: Developers corner
Topic: PartDesign Hole feature
Replies: 73
Views: 25138

Re: PartDesign Hole feature

Think of a U-shaped solid with a datum plane in the middle. Then we should have 10 direction configurations? I am thinking: ←|→ , →|← , →|→ , ←|← , <-|- , -|->, |→ , |← , ←| , →| Should there be an distance offset field as well? How about not parallell sketch/shape relations? Where the shape is in ...
by fosselius
Thu Jul 27, 2017 9:20 pm
Forum: Developers corner
Topic: PartDesign Hole feature
Replies: 73
Views: 25138

Re: PartDesign Hole feature

Cant you add a check and see if the shape changed after the hole was applied? Otherwise automaticly change direction, if that fails as well throw an error message?
by fosselius
Thu Jul 27, 2017 2:06 pm
Forum: Developers corner
Topic: Does an abstraction layer between FreeCAD and OCC make sense?
Replies: 1
Views: 532

Re: Does an abstraction layer between FreeCAD and OCC make sense?

I like the idea. I recently made something simular at work ( introduced a hardware abstraction layer). In my case the work was less then expected and made the application code look much better and made testing much much much easier.
by fosselius
Thu Jul 27, 2017 11:25 am
Forum: Developers corner
Topic: PartDesign Hole feature
Replies: 73
Views: 25138

Re: PartDesign Hole feature

Support for Hex head / Nut would be awesome. Its one of the most common screw holes i make. But i guess the orientation might become an issue?
by fosselius
Wed Jul 26, 2017 2:34 pm
Forum: Developers corner
Topic: PartDesign Hole feature
Replies: 73
Views: 25138

Re: PartDesign Hole feature

That would do, i am sure there are other cases where custom fit would be handy.

As a side note.. A more correct way to handle my issue is to assign the correct material to the part (ex as FEM have ABS support). Then scale the entire part accordingly when exporting. But this is off topic..
by fosselius
Tue Jul 25, 2017 5:14 pm
Forum: Developers corner
Topic: PartDesign Hole feature
Replies: 73
Views: 25138

Re: PartDesign Hole feature

I have compiled it and reviewed some of the code. Looks good. Will play around with it later today. Update: This is awesome! i do like. I would like to be able to specify the "fit" a bit better (out of ISO spec) as i work with 3d prints and have shrinkage to account for... The code looks n...
by fosselius
Sun Jul 23, 2017 10:49 pm
Forum: Developers corner
Topic: Spreadsheet misses negation every second recompute
Replies: 7
Views: 1312

Re: Spreadsheet misses negation every second recompute

Whaat! i thought i recompiled just a few days ago... git pull, building.. Done! Issue is still there. hmm, version states the same? strange... git log: commit 55e0e6c00dfbc3569a80c602a96906a0c2c50cd4 is the latest running in the build git source directory: FreeCAD/bin/FreeCAD --version FreeCAD 0.17 ...
by fosselius
Sun Jul 23, 2017 10:00 pm
Forum: Developers corner
Topic: Spreadsheet misses negation every second recompute
Replies: 7
Views: 1312

Spreadsheet misses negation every second recompute

I noticed that spreadsheet reads my angle (-40) as 40 every second recompute when ANY change have been made to the spreadsheet. is this a known bug? or is it something new? https://youtu.be/-Wmn-JisWp0 OS: Ubuntu 17.04 Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.17.9586 (Git) Bui...