Commit Graph

17641 Commits

Author SHA1 Message Date
vocx-fc
513c0e9eb4 Draft: new PathTwistedArray object
It takes a `Shape` and replicates it around a path, while at the
same time adding a rotation to each copy. This can be used to create
a twisted "ribcage" from a frame-like object, which can be used
in a more complicated `Shape`, for example, a tunnel or bridge
object.
2020-09-03 12:34:16 +02:00
mwganson
6431d558cd [AddonManager] fix bug in CheckSingleWorker 2020-09-03 12:23:14 +02:00
SurajDadral
38f74c815f Initialize mark and add compatibility for rebar.RebarShape
- Initialize rebar mark with rebar label
- Add compatibility for attribute rebar.RebarShape to work with changes
  done in this PR:
  https://github.com/amrit3701/FreeCAD-Reinforcement/pull/65/commits
2020-09-03 12:20:51 +02:00
mwganson
69f43d7bf3 [CheckGeometry] fix segfault, reformat output with lower case, use try/except to check for runtime python errors and fall back on OCCT method if script failed. 2020-09-03 12:09:38 +02:00
mwganson
ed3ff7db5e [CheckGeometry] add new shapecontent builder instead of OCCT's to correct some errors in OCCT's values and to add for some more advanced information, e.g. volume or area, add new method to Base::Interpreter runStringWithKey() -- allows to run a python script and get a string return value 2020-09-03 12:09:38 +02:00
vocx-fc
17ff22c721 Draft: improve style and indentation of getSVG function
Also rename `getSVG` to `get_svg`.

Instead of testing `obj.isDerivedFrom('Part::Feature')`
we test for a Shape, `hasattr(obj, 'Shape')`.
This is to support the SVG generation of `App::Links`.
2020-09-03 11:40:50 +02:00
vocx-fc
9b0f817992 Draft: move format_point out of getSVG function 2020-09-03 11:40:50 +02:00
vocx-fc
1b53261012 Draft: move getText out of getSVG function 2020-09-03 11:40:50 +02:00
vocx-fc
fe3be86e65 Draft: move getOvershoot out of getSVG function 2020-09-03 11:40:50 +02:00
vocx-fc
620e7c7a03 Draft: move getArrow out of getSVG function 2020-09-03 11:40:50 +02:00
vocx-fc
de393746c7 Draft: move getEllipse out of getSVG function 2020-09-03 11:40:50 +02:00
vocx-fc
4f1a83af63 Draft: move getCircle out of getSVG function 2020-09-03 11:40:50 +02:00
vocx-fc
899ffc90b4 Draft: move getPath out of getSVG function 2020-09-03 11:40:50 +02:00
vocx-fc
3d28909451 Draft: rename getPattern to get_pattern 2020-09-03 11:40:50 +02:00
vocx-fc
5dbf38dab0 Draft: rename getDiscretized to get_discretized 2020-09-03 11:40:50 +02:00
vocx-fc
d3ea45aa32 Draft: rename getProj to get_proj 2020-09-03 11:40:50 +02:00
vocx-fc
d24055b523 Draft: improve initial code of getSVG
Improve also the docstrings, and minor adjustments in PEP8 style
and spacing.
2020-09-03 11:40:50 +02:00
vocx-fc
37df79965c Draft: use draftutils.utils module in getSVG 2020-09-03 11:40:50 +02:00
wandererfan
ab2a94d4f9 [TD]Allow single line S/S view 2020-09-02 11:42:10 -04:00
sgrogan
6d0c257ede fix build on Win 2020-09-01 17:57:36 +02:00
wandererfan
247a74d73d [TD]fix V2E DistanceX,Y 2020-08-30 18:59:11 -04:00
wmayer
2c8f78b299 Part: [skip ci] return std::unique_ptr from Part::makeFromSurface() to avoid memory leaks 2020-08-29 23:56:12 +02:00
tomate44
21562568d6 Edge.curveOnSurface : add placement to the output tuple 2020-08-29 22:22:43 +02:00
tomate44
291050c8d0 Part.EdgePy : get access to stored Pcurves 2020-08-29 22:22:43 +02:00
luz paz
5f2c09ea90 Draft: Fix typo in variable name 2020-08-29 19:14:13 +02:00
luz paz
ab7e5fb087 Fix typos in source comments
Found via `codespell`
2020-08-29 19:14:13 +02:00
wmayer
9dfd40e4d3 Mesh: [skip ci] allow to set custom size for asymptote output 2020-08-29 19:05:28 +02:00
wandererfan
6785ee15c2 [TD]remove restrictions on Edge-Edge Dims 2020-08-29 11:13:35 -04:00
wandererfan
53255c63b8 [TD]remove extra space in Angular Dims 2020-08-29 11:13:35 -04:00
wmayer
c0588f0c41 Mesh: [skip ci] support compressed X3D output 2020-08-29 14:56:41 +02:00
wmayer
6f5c2179d0 Mesh: [skip ci] improve color support for X3D and X3DOM output 2020-08-29 14:23:38 +02:00
wmayer
4da114a8c7 Mesh: [skip ci] support of WebGL/X3D export 2020-08-28 18:06:55 +02:00
wmayer
3bc31a6f47 Mesh: [skip ci] fix bug in binary PLY export for mesh with colors 2020-08-27 15:11:30 +02:00
wmayer
fec66c423b Mesh: [skip ci] improve support of asymptote export 2020-08-27 15:10:23 +02:00
wmayer
588fc3b0da Mesh: [skip ci] adjust MeshInput::supportedMeshFormats() 2020-08-27 14:08:04 +02:00
wmayer
e8c364190b Mesh: [skip ci] improve support of asymptote export 2020-08-27 12:53:36 +02:00
wmayer
74e475bebb Mesh: [skip ci] improve support of asymptote export 2020-08-27 11:37:15 +02:00
wmayer
7ae2d7e495 Mesh: [skip ci] support of asymptote export 2020-08-27 09:51:35 +02:00
wmayer
6ca3a56c47 Mesh: [skip ci] fix bug in Mesh.export when passing a custom tolerance value 2020-08-26 11:06:43 +02:00
wmayer
a507a533f3 [PartDesign] [skip ci] #fixes 4367: Thread size out of range using hole-feature 2020-08-24 17:36:48 +02:00
vocx-fc
84c4b3ac25 Mesh: correct display of bounding box values 2020-08-24 16:17:17 +02:00
bitacovir
6feb1d1cee Add SVG icons for MeshWB 2020-08-24 16:12:39 +02:00
tomate44
6a1758a867 Part.Curve2d : adjust parameters 2020-08-24 16:09:54 +02:00
tomate44
5ab8ec1c26 Part.Curve2d : fix for toShape sometimes generating wrong BSpline curves 2020-08-24 16:09:54 +02:00
wmayer
cd7a6a237a [PartDesign Hole] Restore value of reversed checkbox when opening dialog 2020-08-22 16:14:14 +02:00
mwganson
95ef4f40f7 [PartDesign Hole] Add reversed checkbox to dialog 2020-08-22 15:32:42 +02:00
wandererfan
96d296adf8 [TD]change Angle Dim tolerance format 2020-08-22 08:56:57 -04:00
tomate44
849cc77f6e fix long spiral bug similar to #954. Work around OCC bug #23314 2020-08-22 14:29:07 +02:00
Misha G
05c511fb41 Enable for selection of multiple objects in Base Geometry list 2020-08-21 16:56:14 -04:00
carlopav
7758954360 Mesh: grouped view properties in ViewProviderMesh 2020-08-21 12:36:46 +02:00