Search found 287 matches

by JMG
Mon Oct 16, 2023 9:30 pm
Forum: Foro en Español
Topic: Construcción Paramétrica Edificios Industriales
Replies: 1
Views: 5259

Re: Construcción Paramétrica Edificios Industriales

Mola!
Captura de pantalla de 2023-10-16 23-27-23.png
Captura de pantalla de 2023-10-16 23-27-23.png (131.17 KiB) Viewed 5143 times
Image

El cálculo de la estructura tiene mas miga, especialmente por lo denso del código técnico. Pero todo es ponerse :)
by JMG
Sun Sep 24, 2023 2:38 pm
Forum: Users Showcase
Topic: FreeCAD game
Replies: 17
Views: 19053

Re: FreeCAD game

Note that this script was a proof of concept.
Sure you can make games with FreeCAD, the question is why use a CAx engineering tool for something you can do easily with a proper foss like Godot.
by JMG
Wed Sep 20, 2023 7:08 pm
Forum: Open discussion
Topic: Idea for direct drag&move of parts -> FreeCAD default?
Replies: 0
Views: 376

Idea for direct drag&move of parts -> FreeCAD default?

Hi all! I have made a prototype for moving parts around, as I find current "transform" tool too clicky (needs a lot of mouse clicking :lol: ), and for parts that are big and have small details or, basically, when the part origin is very far from the part you want to align with detail. Also...
by JMG
Fri Sep 15, 2023 6:28 pm
Forum: Python scripting and macros
Topic: [SOLVED] Techdraw view.getVisibleEdges() returns nothing
Replies: 1
Views: 278

Re: Techdraw view.getVisibleEdges() returns nothing

Solved by looking the test units for the workbench:
https://github.com/FreeCAD/FreeCAD/blob ... ailTest.py

You need to wait the threads.
by JMG
Fri Sep 15, 2023 2:08 pm
Forum: Python scripting and macros
Topic: [SOLVED] Techdraw view.getVisibleEdges() returns nothing
Replies: 1
Views: 278

[SOLVED] Techdraw view.getVisibleEdges() returns nothing

Hi! I got a python script to create a techdraw page and add views (all that works), but when trying to add some annotations, at requesting the visible edges from the view, the list is empty. The same code on the terminal returns all the visible edges. Also, when running the script I got this cryptic...
by JMG
Mon Apr 03, 2023 9:08 pm
Forum: Python scripting and macros
Topic: Convert from global coordinates to attachment offset coordinates
Replies: 3
Views: 613

Re: Convert from global coordinates to attachment offset coordinates

Thanks for your help! :D Here you have the macro that required it: it creates approximated sheet metal bends using datum lines and revolutions, works by selecting one side face (one that has two edges as sheet thickness) and then the edge of the direction you want the bend to go. import math as mt d...
by JMG
Sat Apr 01, 2023 11:49 pm
Forum: Open discussion
Topic: [Please Vote] FPA Logo
Replies: 77
Views: 11679

Re: [Please Vote] FPA Logo

D
by JMG
Sat Apr 01, 2023 10:58 pm
Forum: Python scripting and macros
Topic: Convert from global coordinates to attachment offset coordinates
Replies: 3
Views: 613

Convert from global coordinates to attachment offset coordinates

Hi!
I'm trying to reference a position (xyz in GCS) as an offset for a datum line (attachment offset), I'm sure there should be a way to convert from global coordinates to object mapping coordinates, but can't find it. Maybe could someone provide some info regarding this?

Thanks!
Javier.
by JMG
Sat Oct 24, 2020 7:31 pm
Forum: Python scripting and macros
Topic: How to dumpContent/restoreContent of part
Replies: 0
Views: 1157

How to dumpContent/restoreContent of part

Hi! Is there a way to restore a Part object and its children using the dumpContent / restoreContent methods? As example, open the attached test.fcstd file and try: part_bin = FreeCAD.ActiveDocument.Part.dumpContent() new_doc = FreeCAD.newDocument() new_part = new_doc.addObject('App::Part','RESTORED_...
by JMG
Fri Jun 21, 2019 9:08 am
Forum: Help on using FreeCAD
Topic: [Solved] Bug or Feature: Mising right click "go to selection"
Replies: 2
Views: 852

Re: Bug or Feature: Mising right click "go to selection"

Created a macro to solve it:

Code: Select all

selection = FreeCAD.Gui.Selection.getSelection()[0]
FreeCAD.Gui.ActiveDocument.scrollToTreeItem( selection .ViewObject )