aprospero
7a4709613b
Draft: parametrize Draft vector utils precision ( #20199 )
...
* parametrize draft vector utils precision
* fix: a single function didn't get the complete latest update.
* compatibility: reintroduce DraftVecUtils.precision() as deprecated.
2025-04-07 23:12:02 +00:00
Kevin Martin
2b9fa18b68
Eliminate many "doing what you told me to" messages
...
These messages were perhaps originally intended as a debuggin aid but now add clutter to the output panes. Remaining messges are mostly the result of methods to display attributes of an object (which one could call from the Python console) or actually provide some information which would not be obvious from the circumstances
2024-02-02 08:58:45 -05:00
Roy-043
16e5835aa6
Draft: implement new get_param functions (step 4)
...
See #11677
2023-12-13 19:39:35 +01:00
luzpaz
38a01939e0
Migrate domain name from freecadweb to freecad ( #9352 )
...
* Migrate domain name from freecadweb to freecad
* Migrate src/Mod/Material files
* Migrate Stylesheet related files
* Migrate *.svg files
* Migrate miscellaneous files
* Migrate some build files
* Migrate recently added TD AR_IRAM template files
Closes #6415
2023-04-24 15:19:20 -05:00
luzpaz
01e8bbc2bf
Fix various typos and whitespace
2023-03-10 14:40:46 +01:00
Jolbas
202a6ca6b8
return pure rotation from getPlaneRotation()
2023-02-28 01:07:56 +01:00
marioalexis
79b7bfd5d0
Draft: Remove Python 2 type support
2022-03-28 18:02:23 -03:00
marioalexis
5cc042379a
Draft: Add functions to transform Cartesian coordinates to spherical and vice versa
2021-04-07 18:36:56 -03:00
vocx-fc
7b34a43c16
Draft: small fixes to the closest function.
...
Correct the Pythonic style for the changes made in 85286bf044.
2020-09-16 13:09:57 +02:00
paul lee
1ff7843357
[ DraftVecUtils.cloest ] Elaborate documentation
2020-09-09 16:01:39 +02:00
paul lee
1227bac5bf
[ DraftVecUtils.closet ] Could return the distance (no unit) of the tested point from the found closest point.
2020-09-09 16:01:39 +02:00
Yorik van Havre
b63f380f61
Draft: Allow to define rounding value in DraftVecUtils.rounded
2020-06-11 14:15:04 +02:00
vocx-fc
5125c584bd
Draft: DraftVecUtils.py clean up imports and messages
...
Small spacing fixes like imports in separate lines
for more clarity, and the position of the license.
Also use the new `messages` module to provide the functions
to print text to the console.
Also use `Matrix` prefixed by the `FreeCAD` module.
2020-04-07 18:12:06 +02:00
luz.paz
8cfa85cf18
Draft: [skip ci] Fix header uniformity
...
This PR fixes header uniformity across all Draft files
2019-12-27 00:16:12 +01:00
luz.paz
020a66cddf
Fix misc. typos
...
Found via `codespell -q 3 -I ../fc-word-whitelist.txt -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller -L od,orign,orginx,orginy`
2019-08-14 14:36:53 -03:00
vocx-fc
6fcb697a92
Draft: DraftVecUtils, position of the Doxygen comments
2019-08-09 18:30:29 -03:00
vocx-fc
710fdb64a8
Draft: DraftVecUtils, improved docstrings and comments
2019-08-09 18:30:29 -03:00
vocx-fc
8803840b89
Draft: DraftVecUtils, improved docstrings and comments; check the isColinear() function, it tests for colinearity between vector differences, and not the vectors themselves.
2019-08-09 18:30:29 -03:00
vocx-fc
a1e92fc324
Draft: DraftVecUtils, improved docstrings; check the isColinear ffunction, because the test succeeds when there are only two vectors, no matter if they are colinear or not
2019-08-09 18:30:29 -03:00
vocx-fc
8cbadac987
Draft: DraftVecUtils, improved docstrings, particularly those with code examples; make sure they only list one return value; the description of that return indicates possible values
2019-08-09 18:30:29 -03:00
vocx-fc
f6bf353837
Draft: DraftVecUtils, improved docstrings
2019-08-09 18:30:29 -03:00
vocx-fc
a17e4ea0d3
Draft: DraftVecUtils, improved docstrings
2019-08-09 18:30:29 -03:00
vocx-fc
91ac85134e
Draft: DraftVecUtils, improved docstrings
2019-08-09 18:30:29 -03:00
vocx-fc
4cd98820d4
Draft: DraftVecUtils, improved docstrings
2019-08-09 18:30:29 -03:00
vocx-fc
c648c7e72a
Draft: DraftVecUtils, improved docstrings; there is a strange condition, the result is calculated only if the square of the magnitude of a vector is NOT 15, why is this?
2019-08-09 18:30:29 -03:00
vocx-fc
9b4cbb5078
Draft: DraftVecUtils, improved docstrings
2019-08-09 18:30:29 -03:00
vocx-fc
01ab3bd4ff
Draft: DraftVecUtils, improved the docstrings
2019-08-09 18:30:29 -03:00
vocx-fc
6411571a10
Draft: DraftVecUtils, improved the docstrings
2019-08-09 18:30:29 -03:00
vocx-fc
800f69c634
Draft: DraftVecUtils, better docstrings; removed the last comma at the end of the list of vectors
2019-08-09 18:30:29 -03:00
vocx-fc
b0f09a7b98
Draft: DraftVecUtils, added docstrings; the test doesn't do anything because the variable doesn't change value
2019-08-09 18:30:29 -03:00
vocx-fc
d71b477333
Draft: DraftVecUtils, use docstrings, shorter lines
2019-08-09 18:30:29 -03:00
vocx-fc
7191d54767
Draft: DraftVecUtils, improved Pythonic spacing, and docstring
2019-08-09 18:30:29 -03:00
vocx-fc
6471404d4f
Draft: DraftVecUtils, improved Pythonic spacing and variable name
2019-08-09 18:30:29 -03:00
vocx-fc
6be3cbfeb6
Draft: DraftVecUtils, improved Pythonic spacing around commas and operators
2019-08-09 18:30:29 -03:00
vocx-fc
aa3e5ed178
Draft: DraftVecUtils, improved Pythonic style, spacing and commas
2019-08-09 18:30:29 -03:00
vocx-fc
47cfe5cb92
Draft: DraftVecUtils, improved Pythonic style, spacing and commas
2019-08-09 18:30:29 -03:00
Yorik van Havre
a6334a4bfd
Cleanup in doxygen stuff
2019-07-15 23:20:52 -03:00
cclauss
00d8f39840
Fix file, long, raw_input, and xrange for Python 3
2019-01-07 15:42:37 +01:00
looooo
6ae56b491f
draft: move translation to DraftGui
...
otherwiser there are some strange ImportEroors.
2017-06-20 12:18:01 +02:00
wmayer
376b841623
add type 'long' to expected types list in scale and scaleTo
2017-06-19 19:19:17 +02:00
hgutsche
201c9d89b0
Some fixes for doygen syntax errors and some configuration to make it run smoother under Windows
2017-02-28 18:52:04 +01:00
luzpaz
c800bc1097
fix doxygen typo introduced to DraftVecUtils.py
...
typo from previous commit ba5c647ba6025db5ad183e5fe1071cbdf35d67a2
2017-02-05 10:33:33 -05:00
luzpaz
d5a38892d8
Draft: doxygen tweaks
...
Getting familiarized with doxygen by starting some initial work on Draft module
typo introduced from commit
2017-02-04 16:09:49 +01:00
Yorik van Havre
bf0d37bf28
Doc: Fixes in doxygen docs for Draft,Arch, FEM
2016-11-17 17:04:09 -02:00
Yorik van Havre
b00d09ce66
Extending doxygen stuff for Draft & Arch
2015-09-04 19:14:36 -03:00
Yorik van Havre
8365f55643
Draft: fixed precision problem - fixes #1940
2015-09-04 12:43:09 -03:00
Yorik van Havre
74cf72511a
Draft: Improvements to Trimex tool - fixes #1598
...
* Autotrim 2 intersecting draft lines, wires or arcs
* Don't snap if CTRL is not pressed
* Allow to trim/extend against itself
2015-01-19 13:49:33 -02:00
Yorik van Havre
203fcb7a1b
Draft: Adapted Draft module for python3 compatibility - issue #995
2014-10-05 19:40:14 -03:00
Yorik van Havre
d2e86b7566
Arch: Big cleanup - fixes #1524
...
* Removed redundant code in Arch objects
* Supports wandererfan's Units code in Draft module
* Cleanup of the IFC exporter
* Better support of extruded profiles in IFC export
2014-05-11 14:40:39 -03:00
Yorik van Havre
74ec8b4353
Draft: bugfix in offset - fixes #270
2014-01-01 13:59:44 -02:00