Commit Graph

10729 Commits

Author SHA1 Message Date
Abdullah Tahiri
084e375b2a Part: BSplineCurve Python creation change for greater flexibility 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
7a2760695a Sketcher: SketchObject - Python command to increase knot multiplicity 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
929c825791 Sketcher: SketchObject functionality to increase knot multiplicity 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
6f46ce747b Sketcher: Enable reuse of constraint helper functions in other toolbars
=======================================================================

bool checkBothExternal(int GeoId1, int GeoId2);
void getIdsFromName(const std::string &name, const Sketcher::SketchObject* Obj, int &GeoId, Sketcher::PointPos &PosId);
bool inline isVertex(int GeoId, Sketcher::PointPos PosId);
bool inline isEdge(int GeoId, Sketcher::PointPos PosId);
bool isSimpleVertex(const Sketcher::SketchObject* Obj, int GeoId, Sketcher::PointPos PosId);
bool IsPointAlreadyOnCurve(int GeoIdCurve, int GeoIdPoint, Sketcher::PointPos PosIdPoint, Sketcher::SketchObject* Obj);
2017-04-08 12:58:06 +02:00
Abdullah Tahiri
0a9e647a01 Sketcher: Add toolbar command to increase knot multiplicity 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
6301b814ee Part: GeomBSpline enable direct construction from parameters 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
298e962d26 Part: GeomBSplineCurve extension to get, increase or reduce multiplicity 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
f36721e529 Sketcher: Enable showing knots on BSpline creation 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
77e1d1327c Sketcher: Bspline toolbar command show/hide knot multiplicity geometry information layer 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
e9c508f467 Sketcher: Bspline knot multiplicity geometry information layer 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
6b81627949 Sketcher: Bspline - SketchObject - Delete Unused geometry extended to knots 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
8199b685a7 Part: Geometry - Ensure that no point is set as construction by mistake/user mistake 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
aaeb0c3407 Sketcher: Ensure that no point is set as construction by mistake/user mistake 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
33be143f48 Sketcher: Solver bypass of knotpoints
Internal geometry knot points, which were added as fixed parameters to the solver according to a previous commit, are tracked in the corresponding bspline as solver level,
without being a parameter to the solver, and upon solving, the position thereof is updated by means of OCC functionality.

This allows to show the knot points and solidarily move them when moving a bspline.
2017-04-08 12:58:06 +02:00
Abdullah Tahiri
65b7e606e5 Sketcher: Construction points added as fixed parameters 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
e66187695f Sketcher: SketchObject Expose internal geometry extended to knots
=================================================================

Very important remark:

Until now, points could not be construction = true.

For now on, if a point is construction = true, the solver will ignore it.
2017-04-08 12:58:06 +02:00
Abdullah Tahiri
0cf81e2d1f Part: Geometry add support for getting the number of knots in a B-Spline 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
c46c66d48a Sketcher: Bspline solver knot support - unfinished 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
98baf57e18 Sketcher: Elements widget external geometry identification fix 2017-04-08 12:58:06 +02:00
Yorik van Havre
d410d99f4a Draft: Fixed buggy Trimex in non-XY planes 2017-04-07 16:03:35 -03:00
wmayer
2a22e06a5c add unit test to check for order of nodes of quadratic mesh elements 2017-04-07 20:51:02 +02:00
wmayer
1cbfbb84d3 set enum size dependent on word size 2017-04-07 20:51:02 +02:00
Yorik van Havre
1c259fa70b Draft: Better block handling in dxf import & export 2017-04-07 14:08:09 -03:00
Sabin Iacob
3d442e1ea8 path: Look up the parent job, set units accordingly for each selected object 2017-04-07 16:02:43 +02:00
Sabin Iacob
e7a1fdb428 Make linuxcnc_post use the job unit system and output <unit>/min 2017-04-07 16:02:43 +02:00
wmayer
6840b7a2e1 avoid possibly crash when trying to add objects to the wrong document 2017-04-07 15:32:22 +02:00
wmayer
2bb5f432d3 properly close task dialog when document is getting closed 2017-04-07 15:16:04 +02:00
wmayer
e4cba8e80f add new signal to Document class for convinience and add method to DocumentObserver 2017-04-07 15:14:45 +02:00
wmayer
9637dcbd44 close sketch selection task panel on undo 2017-04-07 13:07:52 +02:00
wmayer
c241c5b309 perform auto view fit when creating body object on sketch creation 2017-04-07 10:22:40 +02:00
Yorik van Havre
744a9b3590 Arch/Draft: Autoselect results of Up/downgrade and arch component 2017-04-06 18:08:39 -03:00
Ian Rees
3f9aead061 Make Body object on creation of Sketch/Primitive 2017-04-06 19:26:19 +02:00
Ian Rees
c51f4ff4c6 Add abort method to PartDesign TaskDlgFeaturePick 2017-04-06 19:26:19 +02:00
Ian Rees
a22480d3ef Refactor PartDesign create primitive commands 2017-04-06 19:26:19 +02:00
wmayer
692dda9082 fix crash when trying to drag and drop origin object in body object 2017-04-06 19:16:27 +02:00
Yorik van Havre
10ad6c6d02 Draft: Hold snapping points
When drawing (snapping) using the Draft module, it is now possible
to press the Q key to record points. Additional snap locations then
become available orthogonally to these hold points.
2017-04-05 19:04:05 -03:00
Yorik van Havre
0b398559ab Arch: Rebars can now be based on any wire, not only sketches 2017-04-05 17:25:57 -03:00
Yorik van Havre
779d2658aa Added App::PropertyPlacementList 2017-04-05 17:22:51 -03:00
Alexander Gryson
16ef532113 Spin icon a little after forum feedback 2017-04-05 16:09:03 -03:00
Zheng, Lei
8f2aaa0934 TreeView: fix tree view performance
It seems on some system calling QTreeWidgetItem::takeChildren and then
addChild back is expensive. This fix avoids that but still keeps track
of item order in claimed children
2017-04-05 19:41:16 +02:00
Yorik van Havre
0c717322b4 AddonManager: Misc fixes
* Fixed wrong WB description
* Enabled list sorting
* Blacklisted FCGear macro (it is a WB now)
2017-04-05 13:42:31 -03:00
Yorik van Havre
13622a4761 Merge pull request #675 from kkremitzki/issue0002998
Create Macro dir for AddonManager if nonexistent
2017-04-05 13:15:02 -03:00
Kurt Kremitzki
1004a56e85 Create Macro dir for AddonManager if nonexistent
This commit implements the directory-existence-check already used for
the Mod folder when AddonManager attempts to install something into it
and is associated with bug #00029998
2017-04-04 19:17:09 -05:00
Yorik van Havre
90e81a6a0e Merge pull request #673 from gdoffe/path_dogbonedressup
path: use findParentJob() in getToolControllers()
2017-04-04 18:03:59 -03:00
Gilles DOFFE
10ae265822 path: use findParentJob() in getToolControllers()
When applying dressup, the dressup became the new parent of the path feature object.
Then, in the getToolControllers() function, obj does not point systematically to the parent job.
An existing function findParentJob() is more suitable as it looks for the job also into grandparents.
2017-04-04 14:23:20 +02:00
Ulrich Brammer
812dbca5a9 fixes 0002978 spreadsheet row problem for rows above AA 2017-04-04 13:46:15 +02:00
Ulrich Brammer
1ad022bd44 More precise real values for Calculix input files. 2017-04-04 13:46:15 +02:00
triplus
0885044d89 Navigation indicator support 2017-04-04 12:38:17 +02:00
wmayer
59682f31a7 add methods firstVertex and lastVertex to TopoEdge 2017-04-04 10:05:46 +02:00
wmayer
d27bb9955e fix memory leak on IGES import 2017-04-03 19:09:47 +02:00