Search found 79 matches
- Thu May 07, 2020 8:06 am
- Forum: Developers corner
- Topic: How to change the code so that the model can add attributes like ‘a $ b’?
- Replies: 1
- Views: 427
How to change the code so that the model can add attributes like ‘a $ b’?
Hi, everyone. These days I want to add a new feature to FreeCAD software, that is, you can use the addProperty method to add property names that contain certain special characters, such as a $ b. I read the code and may need to understand the bison related knowledge, but I am not familiar with it. C...
- Wed Mar 25, 2020 4:32 am
- Forum: Developers corner
- Topic: Translating external workbenches
- Replies: 58
- Views: 19647
Re: Translating external workbenches
I encountered the same problem, can't the group name be translated?alex.zhang wrote: ↑Thu Mar 12, 2020 3:31 am Same issue in Arch Module. Arch_AxisTools as example.
I found all menu (group) with sub menus not translated.
- Wed Mar 25, 2020 12:33 am
- Forum: Open discussion
- Topic: How to translate my new workbench?
- Replies: 2
- Views: 598
Re: How to translate my new workbench?
Yes, i did this but still no effect.vocx wrote: ↑Tue Mar 24, 2020 10:27 pmIt seems you may have to update the locale.JOE_FU wrote: ↑Tue Mar 24, 2020 11:40 amCode: Select all
def Initialize(self): self.LoadAll(self) FreeCADGui.updateLocale()
Translating external workbenches
- Tue Mar 24, 2020 11:40 am
- Forum: Open discussion
- Topic: How to translate my new workbench?
- Replies: 2
- Views: 598
How to translate my new workbench?
Hi, everyone. I recently created a new workbench and hope to translate the options on my menu bar. But I have been unsuccessful. import FreeCADGui,FreeCAD from DraftTools import translate import TestMenu_rc def QT_TRANSLATE_NOOP(scope, text): return text class CustomWorkbench(Workbench): def __init_...
- Fri Feb 28, 2020 1:41 am
- Forum: Help on using FreeCAD
- Topic: Model turns black.
- Replies: 12
- Views: 1563
Re: Model turns black.
On loading your model I get lots of messages <string>(1)<class 'ModuleNotFoundError'>: No module named 'Modeling' <string>(1)<class 'ModuleNotFoundError'>: No module named 'Modeling3DCommand' You seem to use some third party workbench. Yes it is. But i don't think it matters.
- Thu Feb 27, 2020 1:47 pm
- Forum: Help on using FreeCAD
- Topic: Model turns black.
- Replies: 12
- Views: 1563
- Thu Feb 27, 2020 1:47 pm
- Forum: Help on using FreeCAD
- Topic: Model turns black.
- Replies: 12
- Views: 1563
- Thu Feb 27, 2020 8:18 am
- Forum: Help on using FreeCAD
- Topic: Model turns black.
- Replies: 12
- Views: 1563
Re: Model turns black.
I would love to do this, but the file is too large to upload.
- Thu Feb 27, 2020 7:44 am
- Forum: Help on using FreeCAD
- Topic: Model turns black.
- Replies: 12
- Views: 1563
- Thu Feb 27, 2020 7:03 am
- Forum: Help on using FreeCAD
- Topic: Model turns black.
- Replies: 12
- Views: 1563
Re: Model truns black.
When I use fuse function to combine two models, the models turn black suddenly . Project files are in the attachment. I use the following python statement to trigger this problem. >>> o1=FreeCAD.ActiveDocument.ResultShape >>> o2=FreeCAD.ActiveDocument.ManBo3 >>> s=o1.Shape.fuse(o2.Shape) >>> Part.s...