Abdullah Tahiri
7601cdcffa
Sketcher: Dropdown toolbar button for increase/decrease BSpline knot multiplicity
2017-04-08 12:58:06 +02:00
Abdullah Tahiri
8ca728a12f
Sketcher: BSpline Decrease knot multiplity toolbar command
2017-04-08 12:58:06 +02:00
Abdullah Tahiri
7b60a97465
Sketcher: SketchObject BSpline reduce knot multiplicity
2017-04-08 12:58:06 +02:00
Abdullah Tahiri
e9798b06b1
Sketcher: Increase knot multiplicity auto-reconstruction of pole circles for UI user
2017-04-08 12:58:06 +02:00
Abdullah Tahiri
a17ac10b0b
Sketcher: Expose Internal Geometry for BSplines
...
===============================================
New convenience for the user. If the first pole is radius length constraint, then any newly exposed internal geometry is created with equality constraint to the first pole.
This is really convenient in the case the user is working with polynomic bsplines, as any operation involving losing/gaining a pole (for example increase in multiplicity of a knot).
2017-04-08 12:58:06 +02:00
Abdullah Tahiri
d96c8421d4
Sketcher: Assertion on solver bspline control point creation to expose any potential index miscalculation and memory overflow
2017-04-08 12:58:06 +02:00
Abdullah Tahiri
debff30d92
Sketcher: Increase multiplicity command - no creation of unsolicited internal geometry
2017-04-08 12:58:06 +02:00
Abdullah Tahiri
3fa87fd1d8
Sketcher: Fixing crash on undoing knot multiplicity increase
2017-04-08 12:58:06 +02:00
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
41a1d703e2
Sketcher: BSpline creation adapted to the more flexible python constructor
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
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
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
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
Kunda
784edd3f82
Typo fixes for doxygen and source comments
...
issue #0002914
2017-03-31 11:25:57 -03:00
AjinkyaDahale
7bdcfb0a20
Issue #2682
...
Modifying a check in SketchObject::validateExternalLinks() for datums.
Hopefully will not cause trouble.
There is still a problem where if the check fails, all constraints will
be lost!
2017-03-21 12:10:21 +01:00
Georges Dupéron
07d224e25f
str(Sketcher.Constraint('Radius', 1, 2)) should not return "<Constraint '?'>"
...
str(Sketcher.Constraint('Radius', 1, 2)) should not return "<Constraint '?'>", it should return "<Constraint 'Radius'>"
2017-03-08 00:04:04 +01:00
Yorik van Havre
6b66a38ee3
Updated translations with latest files from crowdin
2017-03-06 11:53:09 -03:00
wmayer
7ff58ef0a8
split sketcher settings page and move to its own group
2017-03-06 14:37:40 +01:00
wwmayer
09510f0014
Merge pull request #583 from triplus/Font-size
...
Configurable coordinate info font size in Sketcher
2017-03-03 22:25:56 +01:00
triplus
288239c443
Configurable coordinate info font size in Sketcher
...
Useful on HiDPI displays and occasionally requested feature on the forum.
2017-03-03 19:27:10 +01:00
Kurt Kremitzki
fa472ec075
Fix hexagon creation error
2017-03-03 11:17:37 -06:00
Kunda
99c99006b8
source typo fixes pt4 (only on py3 merged code)
2017-03-02 13:47:21 +01:00
looooo
dd02fc12b4
py3: Sketcher: remaining diff of python3-branch
2017-03-01 17:21:19 +01:00
wmayer
bcde3cd5a3
py3: ported Skechter to python3
2017-03-01 17:20:20 +01:00
Priit Laes
3a27378844
python: Sketcher: *.py: Fix python3 syntax
2017-03-01 17:20:12 +01:00
wmayer
10191e9086
fixes #0002921 , fixes #0002922
2017-02-24 19:54:16 +01:00
wmayer
b217fe2287
set continuous constraint mode consistently to true by default
2017-02-24 16:30:13 +01:00
wmayer
a90014c646
add missing word, fix layout
2017-02-24 16:24:24 +01:00
wmayer
b4bf37e9c5
fix wrong return type
2017-02-24 15:44:28 +01:00
AjinkyaDahale
fc08fa1c09
Sketcher: costraint creation mode uses toolbar icons
2017-02-24 15:20:26 +01:00
AjinkyaDahale
6be9a9bc53
Sketcher: Added option to turn constraint creation modes on/off
...
Can be found below geometry creation "continous mode" option
2017-02-24 15:20:26 +01:00
AjinkyaDahale
e757c57a30
Sketcher: External edges in constraint modes (Symmetry)
2017-02-24 15:20:26 +01:00
AjinkyaDahale
31456a7e30
Sketcher: External edges in constraint modes (Angle)
2017-02-24 15:20:26 +01:00
AjinkyaDahale
167b28d200
Sketcher: External edges in constraint modes (Equal)
2017-02-24 15:20:26 +01:00
AjinkyaDahale
ff74ba32a8
Sketcher: External edges in constraint modes (radius)
2017-02-24 15:20:26 +01:00
AjinkyaDahale
2ffd94df5f
Sketcher: External edges in constraint modes (tangent)
2017-02-24 15:20:26 +01:00
AjinkyaDahale
daf5a1fdbf
Sketcher: External edges in constraint modes (perpendicular)
2017-02-24 15:20:26 +01:00