Chris Hennes
092be23d89
OpenSCAD: Minor translation issue [skip ci]
2022-12-28 23:33:54 -06:00
Chris Hennes
f7783ea409
Addon Manager: Minor translation issue [skip ci]
2022-12-28 23:33:27 -06:00
wmayer
e69e7ef08a
TD: [skip ci] fix possible crash in ViewProviderViewPart::onChanged
2022-12-28 21:17:23 +01:00
wandererfan
af3c057f99
[TD]make detail highlight interactive
...
- drag detail highlight to change detail anchor point
- change detail reference position using HighlightAdjust property
2022-12-28 09:41:44 -05:00
lorenz
8b0df1dc93
FEM: femmesh: fix AttributeError: module 'numpy' has no attribute 'int'
2022-12-28 12:07:51 +01:00
Chris Hennes
8997802ce9
GUI: Minor translation issues
2022-12-27 21:44:11 -06:00
Chris Hennes
dfb5cf006d
Image: Minor translation issue [skip ci]
2022-12-27 21:34:20 -06:00
Chris Hennes
cc086782b5
OpenSCAD: Minor translation fixes
2022-12-27 21:30:34 -06:00
Chris Hennes
6bad9eda59
Addon Manager: Minor translation fixes
2022-12-27 21:04:32 -06:00
wandererfan
da06fc45a2
[TD]add extensions for drag and drop
2022-12-27 19:43:44 -05:00
Yorik van Havre
7ce5c2dcf4
Merge pull request #8090 from jimzim111/master
...
DRAFT: Make "draftify" type upgrades return the new object
2022-12-27 16:05:42 +01:00
wmayer
c26a4c7978
PD: fixes #7791 : Linear Pattern With Single Occurrence Fails
2022-12-27 14:29:16 +01:00
jim
e88b2cbead
Make upgrades of type "draftify" return the new object (like the other
...
upgrade types do)
2022-12-26 13:32:26 -08:00
wandererfan
14994bd9f7
[TD]remove debug statements
2022-12-26 12:13:34 -05:00
wandererfan
d7a9f44f20
[TD]fix startup exception on empty compound
2022-12-26 12:13:34 -05:00
Adrián Insaurralde Avalos
8b85903dff
Adjust Startpage version info to new format
...
due to the changes from 9869a2c3d7
2022-12-25 14:52:45 +01:00
wmayer
c9b5cc20ec
Test: [skip ci] write results to stdout
2022-12-25 14:28:42 +01:00
Ajinkya Dahale
63a2855751
[Sketcher] Disallow tangent-at-knot for non-line in solver
...
This is already stopped in the GUI, but this is still possible by passing the
curve IDs through the console.
2022-12-24 18:22:16 -06:00
Ajinkya Dahale
e8838b8ef5
[Sketcher] Disallow tangent at knot with non-line in GUI
2022-12-24 18:22:16 -06:00
Abdullah Tahiri
8d33584eee
Sketcher: Avoid trying to lock tangency for tangency at knot point constraint
2022-12-24 18:22:16 -06:00
Abdullah Tahiri
442851f308
Sketcher: Add convenience method to check for internal alignment type
2022-12-24 18:22:16 -06:00
Ajinkya Dahale
3bccd6686a
[Sketcher] Do not use TangentViaPoint for tangent-at-knot
2022-12-24 18:22:16 -06:00
Abdullah Tahiri
389aaeb138
[Sketcher] Separate line-tangent-at-knot from angle-at-point
...
The latter is intended for a specific solver constraint.
[Sketcher] Make further changes for tangent-at-knot separation
1. Remove code for tangent-at-knot from `addAngleAtPointConstraint`.
2. Use correct order of input.
3. Separate internal C0 knot vs end knots. The latter can still be constrained
but the user must use endpoints of the spline instead of knots.
2022-12-24 18:22:16 -06:00
Abdullah Tahiri
a199afad5f
Sketcher: Solver - add map for Internal Alignment geometry
2022-12-24 18:22:16 -06:00
Ajinkya Dahale
dd64ab8ea0
[Sketcher][planegcs] Make changes as per review on #7484
...
Similar to 2715a66ff02a46f94ae3fc6527fd446e666b8e58.
Added some comments and removed some TODO's.
Return grad values directly rather than doing summation.
2022-12-24 18:22:16 -06:00
Ajinkya Dahale
58b26788be
[Sketcher][planegcs] Use only line direction in tangent-at-knot
...
This discourages reducing the size of the line when it is more normal than
tangent.
2022-12-24 18:22:16 -06:00
Ajinkya Dahale
83a9ea78a7
[Sketcher][planegcs] Fix tangent at knot for C1 knots
2022-12-24 18:22:16 -06:00
Ajinkya Dahale
dd02c7a6f3
[Sketcher][planegcs] Handle type issues with int and size_t
...
... and `unsigned int`
Suggestions thanks to @abdullahtahiriyo
2022-12-24 18:22:16 -06:00
Ajinkya Dahale
a609bce527
[Sketcher] Use tangent at B-spline knot constraint
...
Also squashes:
[Sketcher] Make tangent-at-knot with just knot and line
[Sketcher] Disallow tangent at C0 knot
If passed on to planegcs can cause segmentation fault.
[Sketcher] (Re-)Support tangent at B-spline end-knots
New code had introduced problems for non-periodic spline end-points, and
periodic spline "end-points" were not supported anyway.
(here end-points mean star/end points)
2022-12-24 18:22:16 -06:00
Ajinkya Dahale
56b19515b6
[Sketcher] [planegcs] Add "tangent at b-spline knot" constraint
...
Also squashes:
[Sketcher] [planegcs] Support tangent at NURBS knot
...which means support rational B-splines
2022-12-24 18:22:16 -06:00
Ajinkya Dahale
076232a67a
[Sketcher] [planegcs] Calculate value at general b-spline
2022-12-24 18:22:16 -06:00
Ajinkya Dahale
d68ac06b01
[Sketcher] [planegcs] Evaluate lower degree B-spline factors
2022-12-24 18:22:16 -06:00
wmayer
3c709f31df
Gui: make unit tests working from command line if Gui is up
2022-12-24 19:13:40 +01:00
Ajinkya Dahale
1e7edb46e4
[Sketcher] Fix typo
2022-12-24 16:02:52 +01:00
Roy-043
6995af39bf
MeshPart: Fix translation issues
2022-12-23 19:07:46 +01:00
wmayer
af33cdabe5
Surface: fix crash when canceling filling dialog
2022-12-23 11:56:00 +01:00
Yorik van Havre
5915e75204
Merge pull request #7970 from Roy-043/Draft-improve-context-menus
...
Draft: improve context menus
2022-12-23 11:23:33 +01:00
Uwe
46927fa897
[Part] ViewProvider.cpp: add include needed for Qt 6
...
- as reported in #8053 , QObject has to be included to be able to compile with Qt 6
2022-12-23 01:54:36 +01:00
wmayer
a58ede8b9a
Points: support of surface normals and fix handling with intensity
2022-12-22 20:17:49 +01:00
wmayer
3e576c3bca
Points: refactor E57Reader
2022-12-22 19:14:38 +01:00
Yorik van Havre
8890f229ba
Regenerated ts files using lupdate6.6
2022-12-22 15:39:42 +01:00
Yorik van Havre
ec12763278
Fixed ts files
2022-12-22 13:34:31 +01:00
Yorik van Havre
2ed5291a48
Merge pull request #8073 from chennes/startMacroIcon
...
Start: Add icon for FCMacro files
2022-12-22 10:21:54 +01:00
Abdullah Tahiri
90f1f4732e
Solver: Pass map by const reference to avoid performance penalty
...
================================================================
Credit goes for forum user acolomitchi:
https://forum.freecadweb.org/viewtopic.php?p=648807#p648807
2022-12-22 06:26:17 +01:00
Chris Hennes
9a0e50fbad
Start: Add icon for FCMacro files
...
Closes #7709
2022-12-21 22:51:02 -06:00
Uwe
0ab2608a42
[Tux] fix orbit style display
...
- calling GetInt several times makes problems - on some PCs there is no orbit selected, on some always the same
- furthermore the action order matters
- also remove an unnecessary function call
2022-12-22 03:07:03 +01:00
Abdullah Tahiri
a01d336ac3
Sketcher: Split - remove unnecessary return after exception
2022-12-21 16:01:23 +01:00
Ajinkya Dahale
13a64d60ea
[Sketcher] Handle exception in Python while splitting
...
`SketchObject::split` only appears to throw `ValueError`.
2022-12-21 16:01:23 +01:00
Ajinkya Dahale
82633fb5df
[Sketcher] Handle split curve corner case
...
It is possible to ask for splitting at an end point of the curve. This leads to
a `CADKernelError` and leaves us with a "hanging" clone. This check prevents that.
2022-12-21 16:01:23 +01:00
Abdullah Tahiri
7d8e31041c
Sketcher: Split functionality fixes
...
===================================
Changes from naked pointers to smart pointers are motivated to the use of functions that can reasonably throw under certain circumnstances (such as trim).
When introducing smart pointers, it is not necessary to explicitly delete the new geometry array at the end of the function.
When using the new facility to add a smart pointer geometry (previous commit), the copies generated in the split algorithm can be reused, which renders
keeping track of the new geometry for memory management unnecessary.
As geometry is added to the property which each call to addGeometry, the stored newIds can be reused if access is necessary to geometry pointers afterwards
(e.g. for constraint management).
2022-12-21 16:01:23 +01:00