Commit Graph

10453 Commits

Author SHA1 Message Date
Abdullah Tahiri
c1f4fd9490 Sketcher: BSpline toolbar command support for Convert to NURBS external geometry 2017-02-21 13:24:10 +01:00
Abdullah Tahiri
4c9073eeb6 Sketcher: SketchObject convert to NURBS support for External Geometry 2017-02-21 13:24:10 +01:00
Abdullah Tahiri
2b6292a07b Sketcher: Convert to NURBS command improvement - abortcommand 2017-02-21 13:24:10 +01:00
Abdullah Tahiri
f1cf2fca44 Sketcher: Expose Internal Geometry for BSplines
===============================================

This commit changes the behaviour of expose internal geometry for bsplines and makes it converge with the implementation for other complex forms.

This functionality now does not introduce constraints (the DoF is not affected by its execution).

BSplines, when created, are still created as polynomic. However, exposing previously deleted or otherwise hidden (increase of degree) poles does not
constraint them.

why?

While a priori the old behaviour is advantageous for the user in many situations, it severely breaks NURBS-ized shapes and gets in the way of bsplines after
increasing the degree of the bspline.
2017-02-21 13:24:10 +01:00
Abdullah Tahiri
f291942d45 Part: Add support for reversing a geomcurve 2017-02-21 13:24:10 +01:00
Abdullah Tahiri
4fe4792f4d Sketcher: Fix zero curvature normal exception 2017-02-21 13:24:10 +01:00
Abdullah Tahiri
ca05f86f6e Sketcher: Convert to NURBS toolbar via python to enable undo 2017-02-21 13:24:10 +01:00
Abdullah Tahiri
0531411df6 Sketcher: Increase Degree toolbar via python to enable undo 2017-02-21 13:24:10 +01:00
Abdullah Tahiri
55f373eef7 Sketcher: IncreaseBSplineDegree python implementation 2017-02-21 13:24:10 +01:00
Abdullah Tahiri
4abe462a41 Sketcher: ConverttoNURBS python implementation 2017-02-21 13:24:10 +01:00
Abdullah Tahiri
ce7e186049 Sketcher: Adaptation of code to handle the icons 2017-02-21 13:24:10 +01:00
Abdullah Tahiri
afd761041d Sketcher: BSpline Increase Degree tool 2017-02-21 13:24:10 +01:00
Alex Gryson
8ddc9cb901 Add metadata 2017-02-21 13:24:10 +01:00
Alex Gryson
2a7cdf77e9 Add extra icons based on new feedback 2017-02-21 13:24:10 +01:00
Alex Gryson
3c28937e14 Create BSpline Toggle icons
Create icons as [discussed on the forum](http://forum.freecadweb.org/viewtopic.php?f=34&t=20286&start=34)
2017-02-21 13:24:10 +01:00
Abdullah Tahiri
d5b068e0ab Sketcher: Shape to NURBS conversion 2017-02-21 13:24:10 +01:00
Abdullah Tahiri
90bec55660 Sketcher: Automatic calculation of divisions for comb 2017-02-21 13:24:10 +01:00
Abdullah Tahiri
fcc08656d3 Sketcher: Bspline comb - change representation to be convex 2017-02-21 13:24:10 +01:00
Abdullah Tahiri
2ecfb6743b Sketcher: Bspline support for external geometry 2017-02-21 13:24:10 +01:00
Abdullah Tahiri
d92b3fcc07 Sketcher: Settings - Allow to set the number of segments per geometry 2017-02-21 13:24:10 +01:00
Abdullah Tahiri
00aadc4581 Sketcher: BSpline show/restore geometry information commands as a dropdown menu 2017-02-21 13:24:10 +01:00
Abdullah Tahiri
99dee8ab36 Sketcher: Switch of comb geometry information 2017-02-21 13:24:10 +01:00
Abdullah Tahiri
135137ed3d Sketcher: BSpline degree/comb hide/show commands 2017-02-21 13:24:10 +01:00
Abdullah Tahiri
e3487368d7 Sketcher: Comb appropriate scaling for closed and periodic BSplines 2017-02-21 13:24:10 +01:00
Abdullah Tahiri
feb29bd630 Sketcher: BSpline curvature comb 2017-02-21 13:24:10 +01:00
Abdullah Tahiri
9c10b3219d Part: Geometry functionality extension
======================================

Added for curves:
getFirstParameter
getLastParameter
curvatureAt
length

Modified:
normalAt(double u, Base::Vector3d& dir)

as it was not working properly.
2017-02-21 13:24:10 +01:00
Abdullah Tahiri
1bac54e63e Sketcher: new BSpline toolbar / command to hide control polygon 2017-02-21 13:24:10 +01:00
Abdullah Tahiri
2a4f24695a Sketcher: Information Layer show/hide node support 2017-02-21 13:24:10 +01:00
Abdullah Tahiri
9e6beb1a01 Sketcher: Information layer scenography update on geometry change 2017-02-21 13:24:10 +01:00
Abdullah Tahiri
4cffdfe183 Sketcher: Geometry Information layer for BSplines 2017-02-21 13:24:10 +01:00
Ulrich Brammer
693f4c759e update of xlsx-importer: new parser,
trigonomic functions give the same result in the FreeCAD-spreadsheet,
support of celltype "inlineStr".
2017-02-20 22:59:18 +01:00
wmayer
f55635900f fix setEdit, unsetEdit and doubleClicked methods of Python view provider 2017-02-20 22:16:56 +01:00
wwmayer
ced83be2da Merge pull request #541 from wwmayer/vbo_cleanup
Vbo cleanup
2017-02-20 21:04:33 +01:00
Jean-Marie Verdun
4a3252e445 Fix Face color display issue with Vbo turned on 2017-02-20 18:54:07 +01:00
wmayer
399cdd803a use Coin API to deal with vbo and add methods to cleanup GL resources on destruction 2017-02-20 13:16:30 +01:00
wmayer
6630bcf9fa issue #0001999: [STEP] Tessellation data or OpenInventor data memory leak 2017-02-20 10:08:18 +01:00
wwmayer
112749bc97 Merge pull request #537 from agryson/sketcher-icon-updates
Update icons based on forum feedback
2017-02-19 20:40:16 +01:00
wmayer
448ac27e56 fix crash in uIso of Sphere 2017-02-19 20:36:40 +01:00
wmayer
c1c4a90411 move vbo handling to private class 2017-02-19 19:40:37 +01:00
Alexander Gryson
c7652d7c74 Update icons based on forum feedback
See [@NormandC's forum
post](https://forum.freecadweb.org/viewtopic.php?f=34&t=20286&sid=43e2b6766d1b74c4e6e4337dfcbd1084&start=32)
2017-02-19 15:05:56 +01:00
Bernd Hahnebach
1f12a3f65c py3: FEM, more convert map to list 2017-02-19 14:21:34 +01:00
Bernd Hahnebach
be2b5777f6 py3, FEM, redifine open in all import modules 2017-02-19 14:21:34 +01:00
looooo
9a5d920f6a py3: FEM, redefine open in import modules 2017-02-19 14:21:34 +01:00
looooo
7045113525 py3: FEM, convert map to list 2017-02-19 14:21:34 +01:00
looooo
8bc6936bcc py3: FEM, fix import Units module 2017-02-19 14:21:34 +01:00
looooo
3617fc365b py3: FEM, put print in brackets and import print_function 2017-02-19 14:21:34 +01:00
looooo
5c0bcf611f py3: FEM, PyMods, preprocessor conditions, Py::Long vs Py::Int 2017-02-19 14:21:34 +01:00
wwmayer
3fab41f567 Merge pull request #535 from bblacey/mantis-2886
Packaging: Set macOS dynamic loader paths
2017-02-19 14:09:46 +01:00
wmayer
46f5554c43 command to creation section from plane and mesh 2017-02-19 14:05:00 +01:00
Bruce B. Lacey
b52b94ae85 Packaging: Set macOS dynamic loader paths
*  DYLD paths are set properly to prevent loading libraries external
     to the bundle
  a. LC_ID_DYLD is set to the basename of the library name (i.e.
     not the absolute path) when it is copied into the bundle
  b. Existing LC_RPATH entries in libraries are removed before adding
     the bundle-relative RPATH
  *  Added configurable diagnostic logging to aid in debugging

Fixes 0002886
2017-02-19 01:16:59 -08:00