Search found 12 matches

by alex.zhang
Thu Oct 08, 2020 9:44 am
Forum: Open discussion
Topic: Trouble with translating my own workbench (within the workbench dropdown menu)
Replies: 1
Views: 283

Trouble with translating my own workbench (within the workbench dropdown menu)

Hi,

How to translate workbench name in workbench list? Please see attached image.

I did not get any info from Localisation page.

Thanks.

Alex.
by alex.zhang
Tue Aug 11, 2020 12:37 pm
Forum: Draft, Arch & BIM
Topic: Structural nodes
Replies: 23
Views: 8315

Re: Structural nodes

Hi, there How to handle the nodes if column and beam are not align to center, please see the attached figure. BTW, I can not see nodes for slab structure. Thanks. Alex. I think it is a structural problem. and structural software takes into account such a situation. like this video in SAP2000: https...
by alex.zhang
Sun Aug 09, 2020 6:41 am
Forum: Draft, Arch & BIM
Topic: Structural nodes
Replies: 23
Views: 8315

Re: Structural nodes

Hi, there

How to handle the nodes if column and beam are not align to center, please see the attached figure.

BTW, I can not see nodes for slab structure.

Thanks.

Alex.
by alex.zhang
Thu Mar 12, 2020 3:31 am
Forum: Developers corner
Topic: Translating external workbenches
Replies: 58
Views: 19631

Re: Translating external workbenches

Same issue in Arch Module. Arch_AxisTools as example.

I found all menu (group) with sub menus not translated.
by alex.zhang
Thu Mar 12, 2020 1:57 am
Forum: Developers corner
Topic: Translating external workbenches
Replies: 58
Views: 19631

Re: Translating external workbenches

https://github.com/yorikvanhavre/BIM_Workbench/blob/8b053de60311b8bfa8baba4876b65a720e0a7508/InitGui.py#L208 # load rebar tools (Reinforcement addon) try: import RebarTools except ImportError: pass else: # create popup group for Rebar tools class RebarGroupCommand: def GetCommands(self): return tupl...
by alex.zhang
Thu Mar 12, 2020 1:25 am
Forum: Developers corner
Topic: Translating external workbenches
Replies: 58
Views: 19631

Re: Translating external workbenches

Nice! Are you on Github? Can you link to your fork? Actually link to the line number you edited? It should be after these two lines. https://github.com/yorikvanhavre/BIM_Workbench/blob/8b053de60311b8bfa8baba4876b65a720e0a7508/InitGui.py#L320-L322 FreeCADGui.addLanguagePath(BimCommands.getLanguagePa...
by alex.zhang
Wed Mar 11, 2020 6:59 am
Forum: Developers corner
Topic: Translating external workbenches
Replies: 58
Views: 19631

Re: Translating external workbenches

I fixed the BIM Workbench tranlsation issue by add one line code after digging into the source code.

Code: Select all

        
Log ('Loading BIM module... done\n')
FreeCADGui.updateLocale() # refresh the language according to current locale.
Hope it is helpful.

Alex.
by alex.zhang
Mon Feb 24, 2020 2:33 pm
Forum: Developers corner
Topic: Translating external workbenches
Replies: 58
Views: 19631

Re: Translating external workbenches

Kunda1 wrote: Sun Feb 23, 2020 11:18 pm Can we please figure out why translations aren't working for external workbenches? :(
Is there any approach? I checked the ts file and sure the translated words are there. The ts file is released to qm file.

Thanks.
by alex.zhang
Wed Feb 19, 2020 2:54 pm
Forum: Developers corner
Topic: Translating external workbenches
Replies: 58
Views: 19631

Re: Translating external workbenches

@yorik I am trying to translate BIM workbench to Chinese and almost done. There are several problems. 1. Move to trash menu still display English. BimCommands.py class BIM_Trash: def GetResources(self): return {'Pixmap' : os.path.join(os.path.dirname(__file__),"icons","BIM_Trash.svg&q...
by alex.zhang
Wed Jan 08, 2020 11:02 am
Forum: IFC
Topic: IFC import setting and sample file
Replies: 7
Views: 1751

Re: IFC import setting and sample file

Following your setting, now I can edit the objects.
BTW, why are there duplicated objects in the model. I moved two slab somewhere else, please see attached.