Commit Graph

57 Commits

Author SHA1 Message Date
Andreas Matthus
a4fb515d9e transparency 2022-09-22 19:13:30 +02:00
Uwe
20dc9d0a61 [Arch] remove unneeded checks for Python 3
since we only support Python >=3, these checks can go
2022-08-04 01:32:06 +02:00
luzpaz
d35400aae3 Arch: Fix 'testing inequality to None' syntax (#7274)
* Arch: Fix 'testing inequality to None' syntax 

- Substitute `is not None` for `!= None`
-Trim trailing whitespace on touched files
2022-07-30 00:28:20 +02:00
Roy-043
bafe141745 Arch: Housekeeping: import translate from correct file 2022-07-21 10:17:03 +02:00
Syres916
80731db3c0 [Arch] Wavefront Obj Import files from...
...other programs such as Meshroom that don't contain an object name line. There is a bug report but bizarrely it's completely the reverse of what is currently occurring https://tracker.freecadweb.org/view.php?id=2336
2021-06-10 16:58:32 +01:00
Chris Hennes
8228d64ac4 [ARCH] Catch only Exception, not BaseException 2021-02-11 11:52:45 +01:00
luz paz
67381e9579 Arch: Fix header uniformity and remove trailing whitespace 2020-11-16 14:51:53 +01:00
vocx-fc
8e3ae553bb Arch: fix incorrect indentation in the OBJ exporter 2020-07-14 08:27:42 +02:00
vocx-fc
a5aa9646b0 Arch: update some functions that come from the Draft workbench
In particular `getGroupContents` was renamed to `get_group_contents`
in the Draft workbench, so the function name is updated accordingly.
2020-07-13 14:35:38 +02:00
Yorik van Havre
1aa5b755a9 Arch: Fixed non-GUI mode of exporters 2020-06-05 14:58:20 +02:00
Jean-Marie Verdun
bf643bb6e1 Fix indent and double "or" 2020-04-20 12:57:15 +02:00
Jean-Marie Verdun
16d44f115b Add initial link support 2020-04-20 12:57:15 +02:00
luz.paz
8fb5c65736 Arch: [skip ci] fix header uniformity
This PR fixes header uniformity across all Arch files
2019-12-26 18:24:06 +01:00
luz.paz
0c038dfbee Arch: ImportOBJ.py LGTM fixes [skip ci]
Fixes recommended via LGTM report
2019-10-25 10:23:24 -03:00
luz.paz
1c981e8f14 Fix typos and misc. formatting [skip ci]
Found via `codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,currenty,dof,doubleclick,dum,eiter,elemente,feld,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -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,./src/Doc/FreeCAD.uml`
2019-10-21 16:02:23 -03:00
dabomian
fa5d34508b obj transparency fix d->Tr and its value/100 2019-10-15 14:11:29 -03:00
sgrogan
b0882de737 fix indent 2019-10-10 23:51:41 +02:00
Yorik van Havre
04f87588b0 Arch: Fixed tab indents im importOBJ 2019-10-10 10:54:58 -03:00
Jean-Marie Verdun
ca30dfeb27 Tweak meshing parameters (lower triangles count) 2019-10-09 09:55:16 -03:00
Jean-Marie Verdun
d56d17ccf0 Improve Wavefront export by:
- Switching from regular tesselate computation to MeshPart
- Adding Vector Normal output
- Support New assembly placement
2019-10-09 09:55:16 -03:00
Yorik van Havre
0620caea33 Arch: Minor bugfixes, better doctrings and fixed transparency in OBJ exporter 2019-06-15 16:53:43 -03:00
Yorik van Havre
b4ddf63182 Arch: Adapted IFC, OBJ and DAE exporters to support external color information when running in non-GUI mode 2019-06-12 19:28:43 -03:00
wmayer
aaea6420ad Py3: fix reading/writing from/to OBJ file 2019-04-18 12:02:07 +02:00
Yorik van Havre
a4d5c02d36 Arch: Fixed encoding bug in OBJ importer 2019-02-04 13:35:00 -02:00
wmayer
1ebcb36545 Remove decode as returned object by translate() function is a unicode oject 2019-01-08 13:23:51 +01:00
Yorik van Havre
3f2cfa0a7f Arch: Fixed OBJ export 2018-06-26 15:26:00 -03:00
luz.paz
c0014cbd3e Misc. comment typos
+ Found via `codespell -q 3 --skip="*.po,*.ts,./.git,./src/3rdParty,./src/CXX,./src/zipios++,./src/Mod/Assembly/App/opendcm" -I ~/Projects/fc-word-whitelist.txt`

+ crowdin translation refinements:  
- https://crowdin.com/translate/freecad/6766/en-en#6499546
- https://crowdin.com/translate/freecad/6766/en-en#6504496
2018-06-13 20:37:17 -04:00
luz.paz
90c6689722 Arch: translation fixes
Adding Arch WB translation string corrections/refinements
2018-04-17 10:16:28 -03:00
luz.paz
1909466241 Arch: move \n out of translation strings 2018-02-11 20:06:22 +01:00
luzpaz
5107d86b60 Crowdin: Removing whitespace from widgets
Modified the code so that the whitespace was hardcoded since translators on Crowdin weren't adding the whitespace. Please review if correct. 
+ found some other typos/grammar issues along the way. 
CC @yorikvanhavre
2018-01-01 17:52:12 +01:00
Yorik van Havre
0fc9e2be04 Arch Multimaterial 2017-05-03 11:52:24 -03:00
Yorik van Havre
b32e9806e1 Arch: Fixed support of v/vt/vn notation in OBJ importer 2017-04-12 20:30:38 -03:00
Yorik van Havre
a6cfb18e37 Arch: Renaming Hires to HiRes 2017-03-07 13:36:33 -03:00
Yorik van Havre
aab99ad968 Arch: Added materials support to Arch OBJ import/exporter - fixes #2139 2017-02-25 01:07:48 -03:00
Yorik van Havre
715fa81fe2 Arch: Upgraded Equipment tool - fixes #2573 2017-02-01 23:04:14 -02:00
looooo
2bc1162193 py3: Arch: print fixes 2017-01-17 11:13:36 +01:00
Yorik van Havre
8ad2c699f8 py3: open function is in module 'io' in py3 instead of __builtin__ 2017-01-17 09:24:59 +01:00
Yorik van Havre
21f430da2c Arch: more robust edge ordering in Arch OBJ exporter 2016-12-22 17:28:09 -02:00
wmayer
1855c80f36 replace Part.Line with Part.LineSegment 2016-11-30 21:25:18 +01:00
Yorik van Havre
af97583026 Doc: Fixes in doxygen docs for Draft,Arch, FEM 2016-11-17 17:04:09 -02:00
Yorik van Havre
95195e3765 Arch: updated OBJ/DAE exporters to export groups 2016-06-16 18:31:21 -03:00
Jonathan Wiedemann
71606352ee add decode utf8 importOBJ.py 2016-05-18 15:31:10 +02:00
Yorik van Havre
4cb5de6848 Arch: fixed OBJ import without GUI - fixes #2305 2016-01-31 16:53:54 -02:00
Yorik van Havre
be9920a132 Arch: obj exporter now skips bad objects instead of stopping 2015-12-10 15:46:09 -02:00
Yorik van Havre
91b2506ccc Changed all references to DraftGeomUtils.sortEdges to Part.__sortEdges__ 2015-09-04 11:54:57 -03:00
Yorik van Havre
53eb0dd758 Arch: Minor fix in OBJ exporter - fixes #2216 2015-08-17 20:27:19 -03:00
Yorik van Havre
5c01cf0a89 Arch: Fixed OBJ exporter to work with curves - fixes #1527 2014-05-04 13:04:52 -03:00
Yorik van Havre
19865c252b Fixed translation system in Arch & Draft 2014-01-07 11:17:31 -02:00
Yorik van Havre
42fdbefc54 0001102: Updated all links to old freecad homepage and wiki to the new ones 2013-09-15 17:04:42 -03:00
Yorik van Havre
9e8e7a97b9 0001072 : Edge.Curve assert in Draft 2013-03-31 17:54:32 -03:00