Search found 47 matches
- Sun Oct 09, 2022 1:27 am
- Forum: Python scripting and macros
- Topic: [solved]how do I offset a Rectangle?
- Replies: 4
- Views: 662
Re: how do I offset a Rectangle?
Thank you all. You guys are amazing!!!
- Sat Oct 08, 2022 8:58 am
- Forum: Python scripting and macros
- Topic: [solved]how do I offset a Rectangle?
- Replies: 4
- Views: 662
[solved]how do I offset a Rectangle?
Hi all!
I am using FC0.20 and I need to offset a rectangle outwardly by 100mm.
I know how to make it through interface operation.
But in python-code, there is a vector argument. I don't know how to calculate this vector below.
Is there a way to do it without using mousevent?
I am using FC0.20 and I need to offset a rectangle outwardly by 100mm.
I know how to make it through interface operation.
But in python-code, there is a vector argument. I don't know how to calculate this vector below.
Is there a way to do it without using mousevent?
- Mon Sep 19, 2022 9:05 am
- Forum: Python scripting and macros
- Topic: Illegal storage access... Problem
- Replies: 6
- Views: 821
Re: Illegal storage access... Problem
Thanks for that. But it still doesn't work. Please add information required in: https://forum.freecadweb.org/viewtopic.php?f=3&t=2264 As it may depends even on what version of python you are trying to use, and almost surely on what Qt version you are testing the code, and very probably even on ...
- Mon Sep 19, 2022 1:18 am
- Forum: Python scripting and macros
- Topic: Illegal storage access... Problem
- Replies: 6
- Views: 821
Re: Illegal storage access... Problem
Thanks for that. But it still doesn't work.
- Fri Sep 16, 2022 7:04 am
- Forum: Python scripting and macros
- Topic: Illegal storage access... Problem
- Replies: 6
- Views: 821
Illegal storage access... Problem
Hi guys! I run Freecad on a 【win10】 computer. When I tried the code below in FC 0.18【python version 3.6.6】, the html page would display successfully. But in FC 0.19 and FC 0.20【both in python version 3.8.10】 it failed with an unhandled exception dialog showing. Also the report view said " Illeg...
- Fri Sep 09, 2022 8:39 am
- Forum: Install / Compile
- Topic: [Solved]<Exception> Illegal storage access
- Replies: 9
- Views: 4931
- Fri Sep 09, 2022 2:48 am
- Forum: Install / Compile
- Topic: [Solved]<Exception> Illegal storage access
- Replies: 9
- Views: 4931
Re: <Exception> Illegal storage access
Msg: FreeCAD 0.20, Libs: 0.20R26858 (Git) © Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2021 FreeCAD is free and open-source software licensed under the terms of LGPL2+ license. FreeCAD wouldn't be possible without FreeCAD community. ##### #### ### #### # # # # # # # ## #### #### ...
- Wed Aug 31, 2022 1:28 am
- Forum: Python scripting and macros
- Topic: [Solved]Get coordinate of a selected box object's Eight Vertex
- Replies: 3
- Views: 581
Re: Get coordinate of a selected box object's Eight Vertex
Thank you so much guys!!!!
- Tue Aug 30, 2022 2:24 am
- Forum: Python scripting and macros
- Topic: [Solved]Get coordinate of a selected box object's Eight Vertex
- Replies: 3
- Views: 581
[Solved]Get coordinate of a selected box object's Eight Vertex
Hi all!
In this case I need to get coordinate infomation of a selected box object's Eight Vertex.
eg: I need the information of vertex ABCDEFGH of the cube below. Is there a convenient way to retrieve that?
In this case I need to get coordinate infomation of a selected box object's Eight Vertex.
eg: I need the information of vertex ABCDEFGH of the cube below. Is there a convenient way to retrieve that?
- Thu Aug 18, 2022 1:09 am
- Forum: Python scripting and macros
- Topic: How can I get the axis(x,y,z) of a object???
- Replies: 7
- Views: 911
Re: How can I get the axis(x,y,z) of a object???
@Roy_043 Thank you. It works like you mentioned.
@demonlibra Thank you!
@demonlibra Thank you!