Commit Graph

68 Commits

Author SHA1 Message Date
Zheng, Lei
a3e88a399f Arch: relax Part::Feature type checking
For supporting Link inside Arch.
2019-11-17 13:03:42 -03:00
vocx-fc
d506192b15 Arch: test for viewprovider before modifying rebar
Test for the existence of the ViewObject
before calculating interval and placement.

This allows running the TestArch from the command line
without error if there is no interface, that is,
```
freecadcmd -t TestArch
```
2019-11-17 12:57:41 -03:00
SurajDadral
c331ce29f1 Fix editing of OffsetStart of rebar object
Problem:
Unable to set OffsetStart value to greater than (size of structure
object along direction of expansion of rebars)/2 for rebar object

Solution:
Drop check if(OffsetStart + OffsetEnd > size)
2019-10-21 15:57:19 -03:00
SurajDadral
544e85ff3f Fix editing of single rebar object
Problem:
Unable to set OffsetStart value to greater than (size of structure
object along direction of expansion of rebars)/2 for single rebar object

Solution:
Drop check if(OffsetStart + OffsetEnd > size), when there is only one
rebar object.
2019-10-21 15:57:19 -03:00
Suraj Dadral
a6e410dae6 Set placement of bottom Stirrup
As discussed here:
https://forum.freecadweb.org/viewtopic.php?f=8&t=35077&start=100#p310036

<q>
While creating stirrups, if we set offset of tie to zero, then the
bottom stirrup will go out of column as in below image:
https://forum.freecadweb.org/download/file.php?id=84300

After modification, with same data, the stirrup in column looks
like:
https://forum.freecadweb.org/download/file.php?id=84301
</q>
2019-05-29 19:39:33 -03:00
luz.paz
0238906d38 Misc. typo and whitespace fixes
Found via `codespell`
2019-04-30 10:15:59 -03:00
Yorik van Havre
7c263899e5 Arch: Allow to make a rebar without host object from the GUI 2019-04-29 13:08:01 -03:00
Bernd Hahnebach
962e04b090 Arch: rebar, make it possible to create a rebar without existence of a Structure 2019-04-29 12:13:00 -03:00
Yorik van Havre
624e20e9a2 Arch: Renamed property IfcRole to IfcType 2019-04-09 15:53:01 -03:00
Yorik van Havre
b533c64361 Arch: Fixed IFC export of rebars 2019-03-19 19:54:51 -03:00
Amritpal Singh
7cf8dc254e Fixed minor bug in Rebar object. 2018-09-11 14:34:59 +02:00
Amritpal Singh
dda6672d48 Fixed minor bug of custom spacing in Rebar object. 2018-09-03 11:08:53 -03:00
Yorik van Havre
5f63a7764b Arch: using basic object names for all arch objects 2018-07-07 14:40:10 -03:00
Yorik van Havre
e49a5af3ae Arch: separate properties creation in own methods and check properties at file load 2018-06-01 19:36:35 -03:00
Yorik van Havre
30476e951d Arch: Renamed Role property to IfcRole 2018-05-11 12:01:55 -03:00
Yorik van Havre
b5ffabace2 Arch: All Arch objects can now have any IFC type(role) 2018-05-10 10:42:06 -03:00
Yorik van Havre
c360263582 Arch/Draft: Make sure an active doc exists before creating objects 2018-05-08 16:07:55 -03:00
luz.paz
505488c4f9 Misc. typos
Found via `codespell`
2018-04-25 09:41:33 -03:00
looooo
7da2d6ebbc py3: rebar-fix 2018-04-22 07:53:20 +02:00
Yorik van Havre
7101d9a89d Arch: small bugfix in Rebar 2018-04-10 14:39:53 -03:00
luz.paz
6b04f8961e Arch: removing \n from translated strings
ref: https://crowdin.com/translate/freecad/548/en-hu#6501126
2018-02-07 09:42:13 +01:00
Amritpal Singh
c46893d537 Added TotalLength property in rebar object 2017-11-14 10:06:39 -02:00
Amritpal Singh
9017f18523 Added Length property in Rebar object 2017-11-14 10:06:39 -02:00
wmayer
85d0369c0a ArchCommands.fixDAG has been removed in the past and now fails the unit tests 2017-10-19 14:13:36 +02:00
luzpaz
409f5186ca Arch: typo fix
continuation of #953
found today in https://crowdin.com/translate/freecad/6766/en-ja#6499525
2017-08-28 17:31:18 -04:00
Yorik van Havre
0942c150e9 Arch: Renamed Rebar -> Custom Rebar 2017-08-18 20:57:43 -03:00
Yorik van Havre
6c4bdf24df Arch: Better tangent calculation fo rebar profile 2017-08-09 14:59:21 -03:00
Yorik van Havre
54a8b922b7 Arch: Added Centerline display mode to rebars 2017-07-24 17:54:21 -03:00
Yorik van Havre
ebb8fc5364 Arch: Store rebar base wires 2017-07-21 10:56:55 -03:00
Amritpal Singh
4e145b23b9 FIXES: minor bug in custom spacing of rebar object 2017-07-20 16:19:56 -03:00
Amritpal Singh
3aab7ffce5 Introduced custom spacing property in the Rebar object 2017-07-07 13:23:55 -03:00
Yorik van Havre
cab3358ee8 Arch: Removed Armatures property from Structures + added Host property to Rebars 2017-07-05 20:58:48 -03:00
Yorik van Havre
86c8004802 Arch: Small fix in Rebar 2017-06-27 13:30:43 -03:00
Yorik van Havre
e15b80f3c8 Arch: Added Distance property to Rebars 2017-06-26 15:00:30 -03:00
looooo
cd9adc7994 py3: arch: fix tests
issue 0000995
2017-06-20 12:18:01 +02:00
Amritpal Singh
fb62c91366 Added RebarShape property to the Rebar object and defined setEdit() function in Rebar object 2017-06-11 14:03:44 -03:00
Amritpal Singh
ff049b573e added PlacementList property for the Rebar object 2017-05-27 20:02:40 -03:00
Amritpal Singh
10ce910c03 updated recompute() function 2017-04-11 15:23:30 -03:00
Amritpal Singh
91121a8793 added recompute() function to reflect changes in the GUI 2017-04-11 15:23:30 -03:00
Yorik van Havre
f4edb7aed4 Arch: Rebars can now be based on any wire, not only sketches 2017-04-05 17:25:57 -03:00
Yorik van Havre
fc2010baa8 Arch: Export rebars to IFC as SweptDiskSolids + fixed half-done py3 compatibility - fixes #2684 2017-01-29 14:27:42 -02:00
looooo
31e4489518 py3: resolving diff in Arch 2017-01-17 09:28:07 +01:00
Priit Laes
1591601654 py3: Arch: *.py: Fix syntax for python3 2017-01-17 09:24:46 +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
dabccc40b6 Made Arch objects properties translatable - issue #2524 2016-10-07 21:37:15 -03:00
Yorik van Havre
eca3ce2dde Arch: Fixed rebars to work with PartDesignNext 2016-04-30 10:47:05 -03:00
Yorik van Havre
645a83ad32 Arch: New behaviour against circular dependency can now be switched off in preferences 2016-01-29 12:29:03 -02:00
Yorik van Havre
5b750aabe3 Arch: Creating windows no longer removes external refs from base sketches - fixes #2326 2015-12-18 22:11:53 -02:00
Yorik van Havre
3414ec8af1 Arch: IFC importer doesn't choke anymore on rebars 2015-12-02 21:51:27 -02:00
Yorik van Havre
fed516d582 Arch: fixed bug in rebars 2015-06-26 13:50:02 -03:00