Search found 327 matches

by chakkree
Mon Jun 29, 2020 4:10 pm
Forum: Draft, Arch & BIM
Topic: Graphic2D Object with mini script and variable
Replies: 48
Views: 9527

Re: Graphic2D Object with mini script and varriable

Move CAD2D object to Draft layer, for test concept.
Sample file in picture as attached file.

CAD2D_09_HomePlan.png
CAD2D_09_HomePlan.png (198.07 KiB) Viewed 2216 times
CAD2D_10_StrucPlan.png
CAD2D_10_StrucPlan.png (177.99 KiB) Viewed 2216 times
by chakkree
Mon Jun 29, 2020 1:19 pm
Forum: Draft, Arch & BIM
Topic: Graphic2D Object with mini script and variable
Replies: 48
Views: 9527

Re: Graphic2D Object with mini script and varriable

Use CAD2D object to display shear force diagram(SFD) and bending moment diagram(BMD). Use "SymPy" in FreeCAD 0.19.21775+ for calculate and send Vx and Mx value to "Command2d" in CAD2D. - Object named "S+Plan_Floor_2_dxf" import from dxf file. - Object named "Line1&...
by chakkree
Mon Jun 29, 2020 3:53 am
Forum: Draft, Arch & BIM
Topic: Graphic2D Object with mini script and variable
Replies: 48
Views: 9527

Re: Graphic2D Object with mini script and varriable

Q1)The wall one is not working. -- I'm think, maybe, it made from class. Create new onw and copy "Command2d" and "Varaiable" properties to new one. and set Placement. Q2) Also wondering how to make it paramatic? Like you can choose to creat a 1210 window or 1510 window. ---- chan...
by chakkree
Mon Jun 29, 2020 3:16 am
Forum: Draft, Arch & BIM
Topic: Graphic2D Object with mini script and variable
Replies: 48
Views: 9527

Re: Graphic2D Object with mini script and varriable

carlopav wrote: Sun Jun 28, 2020 2:25 pm Nice tool!
Did you have a look at this thread? https://forum.freecadweb.org/viewtopic.php?f=23&t=46320
Very long discussion. :shock: :geek:
by chakkree
Mon Jun 29, 2020 3:05 am
Forum: Draft, Arch & BIM
Topic: Graphic2D Object with mini script and variable
Replies: 48
Views: 9527

Re: Graphic2D Object with mini script and varriable

johnwang wrote: Mon Jun 29, 2020 2:25 am Like this?

How to pick up a point and then insert a window?

CAD2D.zip
Thank you. I will learn to make like this.
It's very easy to use, better than create from script. :D
by chakkree
Sun Jun 28, 2020 11:50 am
Forum: Draft, Arch & BIM
Topic: Graphic2D Object with mini script and variable
Replies: 48
Views: 9527

Re: Graphic2D Object with mini script and varriable

Test File for previous.
by chakkree
Sun Jun 28, 2020 11:49 am
Forum: Draft, Arch & BIM
Topic: Graphic2D Object with mini script and variable
Replies: 48
Views: 9527

Re: Graphic2D Object with mini script and varriable

Now, I'm create CAD2D object as workbrench module. CAD2D_07_WinSection_Per.png 1. Under folder "c:\FreeCAD_0.19.21764-Win-Conda_vc14.x-x86_64\Mod\", create Folder named "CAD2D" 2. Copy 4 attached files below to "CAD2D" folder in (1).(Init.py, InitGui.py , PartChar.py, C...
by chakkree
Fri Jun 26, 2020 5:23 am
Forum: Draft, Arch & BIM
Topic: Graphic2D Object with mini script and variable
Replies: 48
Views: 9527

Graphic2D Object with mini script and variable

CAD2D_02_DoorVar.png CAD2D object: ---------------------------------------- Cammand2d property is graphic2d script. L; x1,y1 ; x2,y2 --> for Line from point (x1,y1) to (x2,y2) R; x,y ; w,h --> for Rectangle lower-bottom point x,y and w=widht, h=height. A; x1,y1 ; x2,y2; x3,y3 --> for Arc define by ...
by chakkree
Tue Apr 07, 2020 11:05 am
Forum: Draft, Arch & BIM
Topic: rebar2
Replies: 90
Views: 13803

Re: rebar2

Wow! I love it. Rebar2_01.png import FreeCAD import Draft import DraftVecUtils from FreeCAD import Vector import ArchBaseRebar import ArchReinforcement """ import importlib importlib.reload(ArchBaseRebar) importlib.reload(ArchReinforcement) """ dia1 = 12 points=[ Vector...
by chakkree
Thu Aug 15, 2019 4:31 am
Forum: Google Summer of Code (GSoC)
Topic: Automate Reinforcement GSoC proposal
Replies: 234
Views: 71502

Re: Automate Reinforcement GSoC proposal

From your dialog, I have some question.
1. How do I set the top rebars with L-shaped, "2-DB20"?
2. How do I set the bottom rebars with straight-rebar, "2-DB20"?

Beam02.png
Beam02.png (253.08 KiB) Viewed 2842 times
BeamSection.png
BeamSection.png (30.76 KiB) Viewed 2842 times
beam02.FCStd
(61.69 KiB) Downloaded 150 times