Commit Graph

10734 Commits

Author SHA1 Message Date
Abdullah Tahiri
47820e207f Sketcher: TestSketcherApp.py fix AppConveyor sporadic failures 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
56ab9d8cb9 Sketcher: Curvature comb general representation scale fix 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
6653d96697 Sketcher: Cleaning up BSpline knot multiplicity increase SketchObject implementation 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
f6dc312681 Part: Fixing signed vs unsigned warning 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
41a1d703e2 Sketcher: BSpline creation adapted to the more flexible python constructor 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
d825c4cb61 Part: BSplineCurve Python creation change for greater flexibility 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
bc4ae73861 Sketcher: SketchObject - Python command to increase knot multiplicity 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
2f6ee0673f Sketcher: SketchObject functionality to increase knot multiplicity 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
02e370d392 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
bd2f7a0924 Sketcher: Add toolbar command to increase knot multiplicity 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
e34788b6fc Part: GeomBSpline enable direct construction from parameters 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
ca48841b8c Part: GeomBSplineCurve extension to get, increase or reduce multiplicity 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
d80437ed90 Sketcher: Enable showing knots on BSpline creation 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
1d8ba29d86 Sketcher: Bspline toolbar command show/hide knot multiplicity geometry information layer 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
9ecb24c94b Sketcher: Bspline knot multiplicity geometry information layer 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
8bdae94ef3 Sketcher: Bspline - SketchObject - Delete Unused geometry extended to knots 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
ea99ba5897 Part: Geometry - Ensure that no point is set as construction by mistake/user mistake 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
325eb2799d Sketcher: Ensure that no point is set as construction by mistake/user mistake 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
63ce5df76b 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
4ace8e7b79 Sketcher: Construction points added as fixed parameters 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
ed3f5a5419 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
409cbb7199 Part: Geometry add support for getting the number of knots in a B-Spline 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
2369112fb5 Sketcher: Bspline solver knot support - unfinished 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
b5c4a8a880 Sketcher: Elements widget external geometry identification fix 2017-04-08 12:58:06 +02:00
Yorik van Havre
43ab645670 Draft: Fixed buggy Trimex in non-XY planes 2017-04-07 16:03:35 -03:00
wmayer
0c0b2126ec add unit test to check for order of nodes of quadratic mesh elements 2017-04-07 20:51:02 +02:00
wmayer
1b7224cdf9 set enum size dependent on word size 2017-04-07 20:51:02 +02:00
Yorik van Havre
04a3283000 Draft: Better block handling in dxf import & export 2017-04-07 14:08:09 -03:00
Sabin Iacob
3ef2e05764 path: Look up the parent job, set units accordingly for each selected object 2017-04-07 16:02:43 +02:00
Sabin Iacob
218482e1f5 Make linuxcnc_post use the job unit system and output <unit>/min 2017-04-07 16:02:43 +02:00
wmayer
1d336fe72e avoid possibly crash when trying to add objects to the wrong document 2017-04-07 15:32:22 +02:00
wmayer
52c3b4580e properly close task dialog when document is getting closed 2017-04-07 15:16:04 +02:00
wmayer
aaac13c2d3 add new signal to Document class for convinience and add method to DocumentObserver 2017-04-07 15:14:45 +02:00
wmayer
bf542266c4 close sketch selection task panel on undo 2017-04-07 13:07:52 +02:00
wmayer
394ea471c6 perform auto view fit when creating body object on sketch creation 2017-04-07 10:22:40 +02:00
Yorik van Havre
8643f1cf1f Arch/Draft: Autoselect results of Up/downgrade and arch component 2017-04-06 18:08:39 -03:00
Ian Rees
ac2f9f8902 Make Body object on creation of Sketch/Primitive 2017-04-06 19:26:19 +02:00
Ian Rees
e2b73e5bb1 Add abort method to PartDesign TaskDlgFeaturePick 2017-04-06 19:26:19 +02:00
Ian Rees
05b5b48af8 Refactor PartDesign create primitive commands 2017-04-06 19:26:19 +02:00
wmayer
a86583e833 fix crash when trying to drag and drop origin object in body object 2017-04-06 19:16:27 +02:00
Yorik van Havre
aa086c1dd9 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
f4edb7aed4 Arch: Rebars can now be based on any wire, not only sketches 2017-04-05 17:25:57 -03:00
Yorik van Havre
8337a7909f Added App::PropertyPlacementList 2017-04-05 17:22:51 -03:00
Alexander Gryson
c014840fce Spin icon a little after forum feedback 2017-04-05 16:09:03 -03:00
Zheng, Lei
1d60277c1f 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
275732a281 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
d8b8bbda31 Merge pull request #675 from kkremitzki/issue0002998
Create Macro dir for AddonManager if nonexistent
2017-04-05 13:15:02 -03:00
Kurt Kremitzki
c902422f63 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
a253af0b9f Merge pull request #673 from gdoffe/path_dogbonedressup
path: use findParentJob() in getToolControllers()
2017-04-04 18:03:59 -03:00
Gilles DOFFE
428c56788e 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