Commit Graph

1178 Commits

Author SHA1 Message Date
pavltom
b26b83dfee [TechDraw] Use OCC to compute intersections of any types of curves 2023-12-02 13:54:37 -05:00
wandererfan
8f17842974 [TD]fix errors in MS CI
- apparently the "or" alternative to "||" is not supported
  by MS but is part of the c++ specification:
  https://en.cppreference.com/w/cpp/language/operator_alternative

- also missing TechDrawExport
2023-12-01 11:27:29 -05:00
wandererfan
762e1b53ff [TD]Standard Line Styles - Gui components 2023-12-01 11:27:29 -05:00
wandererfan
8a7e8effb3 [TD]Standard Line Styles - App components 2023-12-01 11:27:29 -05:00
Chris Hennes
fa65438556 Core: Enable compiling with MSVC /permissive- (#11014)
* Base: Fixes for MSVC permissive-

* App: Fixes for MSVC permissive-

* Gui: Fixes for MSVC permissive-

* Main: Fixes for MSVC permissive-

* Fem: Fixes for MSVC permissive-

* Material: Fixes for MSVC permissive-

* Part: Fixes for MSVC permissive-

* Mesh: Fixes for MSVC permissive-

* Points: Fixes for MSVC permissive-

* Robot: Fixes for MSVC permissive-

* TechDraw: Fixes for MSVC permissive-

* Path: Fixes for MSVC permissive-

* Core; Changes per review comments

* TD: Revision from wandererfan

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-27 17:37:29 +01:00
wandererfan
59282956bf [TD]fix wrong include 2023-11-26 16:42:06 -05:00
wandererfan
f03461a85a [TD]spelling in comments 2023-11-26 16:42:06 -05:00
wandererfan
ca90c73811 [TD]trap null 2d shape in ShapeExtractor 2023-11-26 16:42:06 -05:00
pavltom
886c683f65 [TechDraw] Fix DrawView.setPosition signaling changes always 2023-11-16 20:45:02 -05:00
wandererfan
69761e72d2 [TD]fix regression on Links with scale 2023-11-13 12:21:10 -05:00
wandererfan
037165f1b7 [TD]add 2 utility methods
- toAppSpace converts qt point to app view coords
- angleWithX(Base::Vector3d) returns [0,2pi]
2023-11-11 07:48:03 -05:00
Chris Hennes
aaa0db3867 Merge pull request #11231 from DeflateAwning/http-cleanup
Find and replace http://freecad to https://freecad
2023-11-06 11:16:13 -06:00
DeflateAwning
8de6db3e97 Find and replace http://freecad.org to https://freecad.org
Find and replace:
http:\/\/(.{0,10})freecad
https://$1freecad
Done in all remaining files (after doing it in SVGs in the last commit)
2023-10-29 22:39:22 -06:00
Florian Foinant-Willig
24352a7f4c TechDraw: modernize type checking 2023-10-23 18:08:59 +02:00
pavltom
4ea8558e09 [TechDraw] - Cosmetic circle fixes 2023-10-20 12:18:30 -04:00
wandererfan
9defdaf0a6 [TD]#11091 item 12 array over run 2023-10-19 10:07:48 -04:00
wmayer
9012fec857 TD: fix GeometryMatcher::compareBSplines 2023-10-18 19:43:51 -04:00
wmayer
5b1ccf895a TD: fix -Wsign-compare 2023-10-11 15:12:42 +02:00
wandererfan
772bd03cff [TD]fix fail on unmeshed shape 2023-10-06 20:39:38 -04:00
wandererfan
ed72c03df3 [TD]fix sketch location in view 2023-10-03 13:35:36 -04:00
Florian Foinant-Willig
c214ca3dd9 TechDraw: Fix #10919 crash at geometry deletion 2023-10-03 09:01:42 -04:00
Chris Hennes
6d37ef6609 Merge pull request #10844 from ppphp/remove_redundant_definition
[cmake] some definitions do not matter now
2023-10-02 14:20:49 -05:00
Florian Foinant-Willig
60da0b80f7 TechDraw: fix extension lines of projected dimension 2023-10-02 13:53:01 -04:00
Florian Foinant-Willig
c8313874e4 TechDraw: Implements projected Length dimension 2023-10-02 13:53:01 -04:00
wandererfan
0e2b3c0ecc [TD]Fix no dimensions from old document (#10880) 2023-10-02 09:39:27 -04:00
wandererfan
895d0f0e60 [TD]add line spacing property
- requires Arch PR #10816 to see results
2023-10-01 19:54:32 -04:00
liukaiwen
18af697795 Merge remote-tracking branch 'origin/master' into remove_redundant_definition 2023-10-02 01:42:37 +08:00
wandererfan
d7fcbc79a8 [TD]fix missing reference geometry 2023-09-28 09:01:39 -04:00
ppphp
82ba7ae5ca Merge branch 'master' into remove_redundant_definition 2023-09-28 01:38:38 +08:00
wandererfan
084b33d3e4 [TD]fix centerline rotation 2023-09-27 12:24:21 -04:00
wandererfan
a51c54e7f0 [TD]allow centerline deletion with Del 2023-09-27 12:24:21 -04:00
liukaiwen
4f8fe8fd4a [cmake] some definitions do not matter build now 2023-09-27 18:17:14 +08:00
wandererfan
0b191c477b [TD]initial implementation of cosmetic cicle command 2023-09-20 13:42:11 -04:00
Pieter Hijma
1fc5dea14c TechDraw: Expose two functions for SVG export 2023-09-20 09:27:17 -04:00
André Caldas
695a314229 TechDraw: creates closure for concurrent thread context.
We use a lambda function with a copy of variables
that might be destructed in the original calling thread,
possibly producing dangling references.

See: https://forum.freecad.org/viewtopic.php?t=81260
2023-09-20 09:26:15 -04:00
wandererfan
b45cb18ce1 [TD]fix inverted detail of body 2023-09-15 13:53:54 -04:00
wandererfan
01256623ff [TD]allow cosmetic deletion via DEL 2023-09-15 11:46:37 -04:00
wandererfan
1b64b265ae [TD]fix hatch fail due to missing translate method 2023-09-14 12:05:13 -04:00
wandererfan
71f1e6b09b [TD]rotate centerlines with view 2023-09-13 12:35:25 -04:00
wandererfan
be74909b9a [TD]fix fail on section delete
- fails in onChange during delete due to null BaseView
2023-09-10 14:25:15 -04:00
wandererfan
4fb7b912b4 [TD]fix double delete of centerline 2023-08-29 20:44:14 -04:00
wandererfan
fdd3a8d2cf [TD]Allow section line stretch/shrink 2023-08-29 20:44:14 -04:00
Chris Hennes
c60944ed62 TD: Wrap PyArg_ParseTupleAndKeywords 2023-08-25 15:34:26 -05:00
wandererfan
9c1bc2e0e9 [TD]use original shape for section of section 2023-08-21 20:31:06 -04:00
wandererfan
9b6dd9f8bd [TD]add preference for choice of section shape 2023-08-21 20:31:06 -04:00
luzpaz
ed9ff68935 Fix typos 2023-08-21 20:20:47 +02:00
wandererfan
44c40067b2 [TD]Fix section of section 2023-08-20 12:25:12 -04:00
wandererfan
a51e46775f [TD]fix 10013 detail of sketch 2023-08-20 12:25:12 -04:00
wandererfan
8e600f0a44 [TD]fix 9990 page parms before display 2023-08-20 12:25:12 -04:00
wandererfan
afd06d09f7 [TD]fix omission in splitting GeometryObject 2023-08-19 17:18:42 -04:00