Search found 349 matches

Go to advanced search

by ebrahim raeyat
Thu Oct 08, 2020 11:12 am
Forum: Python scripting and macros
Topic: PropertyFloatList, append don't work
Replies: 3
Views: 161

PropertyFloatList, append don't work

Hi All. I have an object with height property that i defined it as below: if not hasattr(obj, "heights"): obj.addProperty( "App::PropertyFloatList", "heights", "column_types", ) But in my code, when I want to add some height, the obj.heights.append doesn't work, but this command works!: obj.heights ...
by ebrahim raeyat
Sat Oct 03, 2020 9:58 pm
Forum: Draft, Arch & BIM
Topic: change default transparency of rectangle in Draft
Replies: 4
Views: 190

Re: change default transparency of rectangle in Draft

vocx wrote:
Sat Oct 03, 2020 3:47 pm
ebrahim raeyat wrote:
Sat Oct 03, 2020 9:57 am
...
your code gives me this error:
...
As I said, it was just an idea, it doesn't work at the moment. Changes to the Rectangle code would need to be made for it to work.
You are right, Thanks @vocx
by ebrahim raeyat
Sat Oct 03, 2020 9:57 am
Forum: Draft, Arch & BIM
Topic: change default transparency of rectangle in Draft
Replies: 4
Views: 190

Re: change default transparency of rectangle in Draft

I've been thinking of a way to extend an existing command like this one, by passing some arguments, and executing the arguments at the end. Something like this. class Block(DraftTools.Rectangle): def __init__(self): super().__init__() def finish(): extra = ["obj.ViewObject.Transparency = 80"] super...
by ebrahim raeyat
Fri Oct 02, 2020 6:37 pm
Forum: Draft, Arch & BIM
Topic: change default transparency of rectangle in Draft
Replies: 4
Views: 190

change default transparency of rectangle in Draft

Hi all. I want to create a rectangle object with default 40% transparency. I studied source code for rectangle command in Draft and found some methods in it and examined these ways, but with no succeed: 1- I found gui_utils.select(obj) in end of make_rectangle function, thus I coded this: class Bloc...
by ebrahim raeyat
Tue Sep 22, 2020 11:09 am
Forum: Draft, Arch & BIM
Topic: best way to draw 2D steel column view
Replies: 9
Views: 1045

Re: best way to draw 2D steel column view

I finally finished this task. This is some example of output file with ezdxf library:

with some essential hidden lines:
col_hid.png
col_hid.png (11.28 KiB) Viewed 190 times
without hidden line:
col_nothid.png
col_nothid.png (9.23 KiB) Viewed 190 times
col_all.png
col_all.png (40.1 KiB) Viewed 190 times
colAll_freecad.png
colAll_freecad.png (26.37 KiB) Viewed 190 times
by ebrahim raeyat
Mon Sep 14, 2020 6:54 pm
Forum: Draft, Arch & BIM
Topic: GSoC Proposal: Extended functionality of Rebar Addon
Replies: 312
Views: 18011

Re: GSoC Proposal: Extended functionality of Rebar Addon

Suraj Dadral wrote:
Sun Sep 13, 2020 5:04 am
We have successfully completed GSoC 2020!! :D
Thank you @Suraj for your effort and such quality coding and documenting.
by ebrahim raeyat
Mon Sep 07, 2020 10:42 am
Forum: Draft, Arch & BIM
Topic: GSoC Proposal: Extended functionality of Rebar Addon
Replies: 312
Views: 18011

Re: GSoC Proposal: Extended functionality of Rebar Addon

Suraj Dadral wrote:
Sun Sep 06, 2020 9:15 pm

More suggestions are always welcome. :)

Thanks,
Thanks for your great work. One suggestion:

If is it possible to justify width of columns to content of columns, no equal width for all column. Thanks
by ebrahim raeyat
Sun Sep 06, 2020 8:44 pm
Forum: Draft, Arch & BIM
Topic: best way to draw 2D steel column view
Replies: 9
Views: 1045

Re: best way to draw 2D steel column view

Hi @all. I completed code for creating columns for various type of column section in plan and elevation. Now I want to obtain 2D view from 3d column object. I want to use TechDraw WB. is there another solutions? If @"Suraj Dadral" can help. Thanks
col.png
col.png (27.42 KiB) Viewed 304 times
this is my github code.
by ebrahim raeyat
Thu Sep 03, 2020 7:05 pm
Forum: IFC
Topic: IFC files from structural engineering software CSI ETABS
Replies: 28
Views: 2281

Re: IFC files from structural engineering software CSI ETABS

Hey there, Great, I am asking, Did this software suitable for export to other structural software, such as steel and concrete detailing applications? Hello, Etabs can export analysis result in various format that in my country there are some software for detailing that use export data from ETABS: f...
by ebrahim raeyat
Thu Aug 27, 2020 12:07 am
Forum: Draft, Arch & BIM
Topic: [BUG?] in ArchFloor name
Replies: 1
Views: 328

[BUG?] in ArchFloor name

I don't know if this is a bug but what happen to me: I created some floors and want to be able to scale those vertically, thus I define a v_sacale float property and changed showLevel property of object to False to achieve correct level name in every v_scale. but some time text did not correct, To s...

Go to advanced search