Search found 482 matches
- Fri Nov 17, 2023 3:33 pm
- Forum: TechDraw
- Topic: Drawing arbitrary cosmetic lines in a controllable fashion
- Replies: 18
- Views: 6465
Re: Drawing arbitrary cosmetic lines in a controllable fashion
So there just needs to be a more user friendly way to place the vertex in relation to other entities in the drawing (lines, other vertices , etc) and to also use model units instead of drawing units (so say +X mm in the X direction from this other entity, +Y mm in the Y direction from this other en...
- Mon Oct 16, 2023 4:24 pm
- Forum: TechDraw
- Topic: Chain dimensions only work by selecting vertices
- Replies: 2
- Views: 2020
Re: Chain dimensions only work by selecting vertices
Find attached a macro which is an extended test version of the createHorizChainDimension tool. TechDrawCreateHorizChainDimension.FCMacro Usage: - select several vertexes, edges or circles. - start the macro A horizontal dimension chain is created. The used points are: - all selected vertexes - start...
- Thu Oct 12, 2023 3:01 pm
- Forum: TechDraw
- Topic: [FR] Vertex view improvement
- Replies: 14
- Views: 5054
Re: [FR] Vertex view improvement
Find attached a script to decrease the vertexes: ''' Decrease the value of the global VertexScale parameter ''' document = App.ActiveDocument if document: hGrp = App.ParamGet("User parameter: BaseApp/Preferences/Mod/TechDraw/General") scale = hGrp.GetFloat("VertexScale")-1.0 if s...
- Sat Sep 23, 2023 1:51 pm
- Forum: TechDraw
- Topic: ExtensionTools' "Position Horizontal Chain Dimensions" causes issues with different font sizes
- Replies: 4
- Views: 597
Re: ExtensionTools' "Position Horizontal Chain Dimensions" causes issues with different font sizes
I can confirm that issue. To solve the issue, the algorithm which defines the position of a dimension should be changed. --> wandererfan The position of any dimension item is defined by the position of its value label. The PositionHorizontalChainDimension tool equals the y values of all selected dim...
- Sun Aug 06, 2023 4:15 pm
- Forum: Python scripting and macros
- Topic: How to implement a SceneGraph in the MainWindow ?
- Replies: 12
- Views: 1355
How to implement a SceneGraph in the MainWindow ?
OS: Ubuntu 22.04.1 LTS (ubuntu:GNOME/ubuntu) Word size of FreeCAD: 64-bit Version: 0.21.0.32927 (Git) Build type: Unknown Branch: CmdTechDrawEdgeSymbol Hash: 3aebe166b4b3b7a70f2a586d3750322507e05a73 Python 3.10.6, Qt 5.15.3, Coin 4.0.0, Vtk 7.1.1, OCC 7.5.1 Locale: German/Austria (de_AT) When tryin...
- Tue Aug 01, 2023 4:34 pm
- Forum: TechDraw
- Topic: Line attribute alterations - rationalisation possible?
- Replies: 2
- Views: 564
Re: Line attribute alterations - rationalisation possible?
There is another post to this area of concern: https://forum.freecad.org/viewtopic.php?t=78566 My idea is the following: 1. Create new preferences for the attributes used in the TechDraw_Extension tools. These preferences will be saved in the user.cfg file and their values will be the defaults. The ...
- Sat Jul 29, 2023 4:32 pm
- Forum: Python scripting and macros
- Topic: I want to make a custom workbench. But I can barely get started.
- Replies: 8
- Views: 1450
Re: I want to make a custom workbench. But I can barely get started.
How do I add a custom image to a button? See https://github.com/FreeCAD/FreeCAD/tree/master/src/Mod/TemplatePyMod file Commands.py method GetResources class TemplatePyMod_Cmd1: "Example command class" def Activated(self): print("TemplatePyMod_Cmd1 activated ;-) ") def GetResourc...
- Sat Jul 29, 2023 4:01 pm
- Forum: Forum in Deutsch
- Topic: [gelöst] alle punkte/elemente im sketcher gleichzeitig markieren/auswählen/fixieren ?
- Replies: 57
- Views: 7746
Re: [gelöst] alle punkte/elemente im sketcher gleichzeitig markieren/auswählen/fixieren ?
Hallo Thomas, bei mir OS: Ubuntu 22.04.1 LTS (ubuntu:GNOME/ubuntu) Word size of FreeCAD: 64-bit Version: 0.21.0.32927 (Git) Build type: Unknown Branch: CmdTechDrawEdgeSymbol Hash: 3aebe166b4b3b7a70f2a586d3750322507e05a73 Python 3.10.6, Qt 5.15.3, Coin 4.0.0, Vtk 7.1.1, OCC 7.5.1 Locale: German/Austr...
- Wed Jul 26, 2023 2:30 pm
- Forum: TechDraw
- Topic: Center line of Holes in Section View not Consistent in 0.21
- Replies: 12
- Views: 1560
Re: Center line of Holes in Section View not Consistent in 0.21
The line you see is no center line, it is the generating straight line of the cylinder. You can make it invisible.
- Wed Jul 26, 2023 2:04 pm
- Forum: Python scripting and macros
- Topic: How to modify and update objects
- Replies: 9
- Views: 1237
Re: How to modify and update objects
... though naming convention is a bit confusing for me sometimes we call it Property sometimes attribute and access it with diffrent methods A python or C++ class defines attributes and methods . An attribute is a class-variable, while a method is a class-function, having parameters. Property is a ...