Parametric features

Please use this forum to post feedback and suggestions related to QCAD.

Moderator: andrew

Post Reply
lagnat
Junior Member
Posts: 24
Joined: Mon Dec 07, 2020 4:58 pm

Parametric features

Post by lagnat » Wed Jun 29, 2022 5:22 pm

Saw this question asked in 2010 but thought it might be valuable to ask again. I've been using another cad app for my 3D printing designs and I've become quite fond of parametric constraints. Coming back to QCAD has me missing that capability quite a bit.

User avatar
andrew
Site Admin
Posts: 9036
Joined: Fri Mar 30, 2007 6:07 am

Re: Parametric features

Post by andrew » Wed Jun 29, 2022 5:37 pm

Unfortunately, I can only confirm that there are still no plans for parametric constraints in the foreseeable future for QCAD. While it might be interesting at some point, there are simply too many other priorities. I don't think constraints are very high on the list of what QCAD users want. It hardly ever comes up (once every 12 years :wink:).

lagnat
Junior Member
Posts: 24
Joined: Mon Dec 07, 2020 4:58 pm

Re: Parametric features

Post by lagnat » Fri Jul 01, 2022 5:25 pm

Existing users might not know what they're missing and there's probably no good way to determine how many *more* users you might be able to attract with parametric features but I totally understand your position. I'll ask again in 12 years!

User avatar
ryancousins
Premier Member
Posts: 367
Joined: Thu Mar 19, 2020 3:47 am
Location: Michigan, USA

Re: Parametric features

Post by ryancousins » Fri Jul 01, 2022 7:09 pm

Parametric functionality would be a game changer, but I believe it would fundamentally challenge the philosophy of QCAD as a simple to use 2D CAD option. (I have no authority on this, just making an observation based on my time here in the forum) I have to also imagine it would take some considerable backend development requiring a crew of full-time software engineers. But who knows, maybe in 2034 we’ll all be surprised with QCAD: Parametric Edition :D

lagnat
Junior Member
Posts: 24
Joined: Mon Dec 07, 2020 4:58 pm

Re: Parametric features

Post by lagnat » Fri Jul 01, 2022 11:21 pm

I'd like to think that constraint-based CAD is easier and that it's the inevitability in this space, but agreed that it would be a pile of work.

Labrys
Registered Member
Posts: 1
Joined: Mon Jul 04, 2022 5:04 am

Re: Parametric features

Post by Labrys » Mon Jul 04, 2022 5:06 am

Personally I would greatly desire parametric features. It's probably the main thing that would get me to purchase the professional version over using the community version.

WillTJS
Registered Member
Posts: 1
Joined: Mon Dec 19, 2022 4:33 am

Re: Parametric features

Post by WillTJS » Mon Dec 19, 2022 4:35 am

I'm a long time user of QCAD personally looking for a good alternative for this reason. If QCAD had more parametric capabilities, it would be amazing.

mad_screwdriver
Newbie Member
Posts: 3
Joined: Fri Aug 25, 2023 4:46 pm

Re: Parametric features

Post by mad_screwdriver » Fri Aug 25, 2023 5:04 pm

There is a Python package known as "qsketchmetric" that introduces parametric features to QCAD which I am an author of. However, using it does require a besic knowledge of Python. You can find the package on GitHub at this URL:
https://github.com/MadScrewdriver/qsketchmetric

If anyone needs assistance or specific features, I am open to collaborating. :wink:

CVH
Premier Member
Posts: 3415
Joined: Wed Sep 27, 2017 4:17 pm

Re: Parametric features

Post by CVH » Sat Aug 26, 2023 6:46 am

@ mad_screwdriver,
The solution I came up with several years ago is DrawFromCSV, see QCAD Pro: Misc .. Import/Export

It supports all basic drawing entities and their specific attributes, handles layers and layer attributes.
Further it includes 3-point arcs/circles, G-code style arcs, triangles, quadrilaterals, 2 solids, text and supports entities custom properties.
In an upcoming release it supports ellipses.

Parametrization is done outside QCAD in a spreadsheet.
QCAD then draws the model from scratch by a list of instructions in a CSV file.

I agree, less visual to start with :wink: but at the moment it exceeds your QCAD-ezdxf-Python-QCAD route.

Regards,
CVH

mad_screwdriver
Newbie Member
Posts: 3
Joined: Fri Aug 25, 2023 4:46 pm

Re: Parametric features

Post by mad_screwdriver » Wed Aug 30, 2023 10:13 pm

@CVH

Thanks for the replay! I hope that it is a matter of time when https://github.com/MadScrewdriver/qsketchmetric will support more enteties. [EDIT: It does now supports all of them]
It is not clear for me: On complicated drawing how the parametrization is done without visualization?
Also qsketchmetric route is QCAD-(python using ezdxf pacage) no need for QCAD at the end. QCAD is only used for the initial parametrization of the file after that you can use parametrized file without ever need to use QCAD. Qsketchmetric features rendering evolved from mathematical expressions based on dynamically passed variables from python code. Also it has ability to calculate dynamically position of entities without ever needing to parametrize them. I think that our tools serve a different purpose.

EDIT:
QSketchMetric supports now parametrization of every entity

Regards,
mad_screwdriver
Last edited by mad_screwdriver on Tue Sep 19, 2023 2:40 pm, edited 2 times in total.

riverbuoy
Senior Member
Posts: 121
Joined: Thu Oct 03, 2013 5:37 pm

Re: Parametric features

Post by riverbuoy » Thu Aug 31, 2023 6:47 am

Hi all,

For parametric features check out SOLVESPACE.
SOLVESPACE is a free (GPLv3) parametric 2d/3d CAD tool.
You can find it at "solvespace.com".
It is available for Windows,Mac and Linux.
It comes with a ".exe" file for Windows, an installation file for Mac and for Linux you can build it from source code.
It may be just what you are looking for.

For more comprehensive modelling check out FREECAD.
FREECAD is Your own 3D parametric modeller.
This is a comprehensive 3D modeller and has full parametric features.
You can find it at "www.freecad,org"
It is also available for Windows,Mac and Linux.
However this requires approx. 100MB or more, of disk space, and I would suggest a reasonably powerful laptop or desktop
to run it on.
This might be more what you are looking for.

Hope this helps.

Regards

riverbuoy

mad_screwdriver
Newbie Member
Posts: 3
Joined: Fri Aug 25, 2023 4:46 pm

Re: Parametric features

Post by mad_screwdriver » Thu Aug 31, 2023 7:47 am

@riverbuoy
SOLVESPACE is fantastic! However, currently, it lacks support for dynamically sketching with parameters. It only permits the use of fixed values for parametrization.

MuHcOw
Newbie Member
Posts: 4
Joined: Sun Mar 10, 2024 11:13 am

Re: Parametric features

Post by MuHcOw » Sun Mar 17, 2024 9:32 pm

andrew wrote:
Wed Jun 29, 2022 5:37 pm
Unfortunately, I can only confirm that there are still no plans for parametric constraints in the foreseeable future for QCAD. While it might be interesting at some point, there are simply too many other priorities. I don't think constraints are very high on the list of what QCAD users want. It hardly ever comes up (once every 12 years :wink:).
I'd love to see dynamic blocks in QCAD - But it has to be implemented in a simple, easy to use way like in AutoCAD (2012 I think).
It's a VERY powerful tool that is pretty easy to use.

CVH
Premier Member
Posts: 3415
Joined: Wed Sep 27, 2017 4:17 pm

Re: Parametric features

Post by CVH » Tue Mar 19, 2024 9:46 am

@ mad_screwdriver,

I saw your EDITs to the post above: https://www.qcad.org/rsforum/viewtopic. ... 135#p41964

From your qsketchmetric page:
  • LWPOLILINE, POLYLINE, SPLINE, ELLIPSE, MTEXT, etc.
    Those entities must be packed into 'INSERT' entity and parameterized as described above.
  • INSERT
    Name: must be: 'c'.
    Value: contains the expression describing width and height of the entity split by a `@` sign. In the format: width@height.
    Both width and height are math expressions (see above) where `?` is only allowed for the one of the dimensions.
  • A single MTEXT or as 'INSERT' entity
From that I understand that these entities are supported as scaled as a whole only.

QCAD does not have an 'INSERT' entity type as far as I know ...
How are for example polylines already in a document handled or can they only be inserted by python code?
These can have zero to almost an endless number of vertices, a global or segment specific start and end width.
Meaning that none of vertices have a individual specific constraint.

IMHO you can't change the aspect ratio of a polyline with bulges because that would require ellipse arcs to replace arc segments.
Or that of a spline because it is simply another shape.

I don't see how for example polyline nodes would match with other constrained entities by simply scaling.
An inscribed ellipse won't match with the adapted boundary lines.
And I have similar reservations for the other entity types.

Regards,
CVH

Post Reply

Return to “QCAD Suggestions and Feedback”