Search found 24 matches
- Mon Aug 26, 2019 2:47 am
- Forum: Developers corner
- Topic: The result of PointColorArray in ViewProviderExt is not right
- Replies: 5
- Views: 27476
Re: The result of PointColorArray in ViewProviderExt is not right
I don't see anything incorrect. Did you intend to put 1.0 everywhere you've put 0.1 ? 0.1 is not that different to zero, which looks black. Also, you have only 8 tuples in your definition, but 8 points. The remaining points are probably getting a random color from whatever data is in that memory lo...
- Sun Aug 25, 2019 7:30 am
- Forum: Developers corner
- Topic: The result of PointColorArray in ViewProviderExt is not right
- Replies: 5
- Views: 27476
Re: The result of PointColorArray in ViewProviderExt is not right
I don't see anything incorrect. Did you intend to put 1.0 everywhere you've put 0.1 ? 0.1 is not that different to zero, which looks black. Also, you have only 8 tuples in your definition, but 8 points. The remaining points are probably getting a random color from whatever data is in that memory lo...
- Wed Aug 21, 2019 9:02 am
- Forum: Developers corner
- Topic: The result of PointColorArray in ViewProviderExt is not right
- Replies: 5
- Views: 27476
The result of PointColorArray in ViewProviderExt is not right
Hi, everyone. I encounter one problem. I want the points of couple lines have different color, so i just create a simple example. Just as below: 1.Create a sketch just with one line. 2.Array the sketch to get 8 lines. 3.Set the value of PointColorArray in the python console to achieve my goal.Just l...
- Tue Apr 23, 2019 11:31 am
- Forum: Open discussion
- Topic: Decimal's problem
- Replies: 6
- Views: 856
- Tue Apr 23, 2019 11:27 am
- Forum: Open discussion
- Topic: Decimal's problem
- Replies: 6
- Views: 856
Re: Decimal's problem
Thanks, kisolre.
So, is there any way to avoid this?
- Tue Apr 23, 2019 9:46 am
- Forum: Open discussion
- Topic: Decimal's problem
- Replies: 6
- Views: 856
Decimal's problem
Hi everyone, I have encountered a strange thing after changed the number of decimals to 12 in the preferences dialog, . When i set the value of Density to 7850 kg/m^3 in the material settings dialog, i got 7850.000000000001 kg/m^3. Does anyone have any idea? Thanks for help! OS: Windows 10 Word size...
- Thu Apr 18, 2019 9:58 am
- Forum: Developers corner
- Topic: Can not refine the fusion of faces?
- Replies: 5
- Views: 1113
- Thu Apr 18, 2019 7:18 am
- Forum: Developers corner
- Topic: Can not refine the fusion of faces?
- Replies: 5
- Views: 1113
Re: Can not refine the fusion of faces?
Hard to say without the model. Can you upload it? Union creates a compound if objects don't intersect. Hi, chrisb. Thank you for your reply. I have uploaded the document file and the pictures. "Fusion" is the multifuse result of two faces which are from Draft. And i change the Refine prop...
- Thu Apr 18, 2019 3:08 am
- Forum: Developers corner
- Topic: Can not refine the fusion of faces?
- Replies: 5
- Views: 1113
Can not refine the fusion of faces?
Hi, I did a union on two faces. The result is good but i can't refine the unioned surface. When i did the same to the fusion of two solids, it is fine. I tracked the code, and the problem is in Part::BRepBuilderAPI_RefineModel::Build(). The fusion of two faces is not a shell, it is a compound of fac...
- Tue Mar 06, 2018 3:38 am
- Forum: Developers corner
- Topic: How to translate the property name?
- Replies: 13
- Views: 2165
Re: How to translate the property name?
And the name of a property of a custom Python object of course must not be translated but marked for translation with QT_TRANSLATE_NOOP with the context string "App::Property". Hi, wmayer! I have encountered another problem. In my condition, i need the same property with different transla...