[Discussion] Drafting 2d annotations for architecture

A forum dedicated to the Draft, Arch and BIM workbenches development.
paullee
Veteran
Posts: 4865
Joined: Wed May 04, 2016 3:58 pm

Re: [Discussion] Drafting 2d annotations for architecture

Post by paullee »

regis wrote: Mon May 18, 2020 12:24 am
paullee wrote: Sun May 17, 2020 10:39 pm BTW, when FC font is Null, what fonts would it use ?
On mine it says this "MS Shell Dlg 2
Snipaste_2020-05-17_20-21-21.png

But as you can see when i change the fonts, it doesn't update with the changes.
Snipaste_2020-05-17_20-22-51.png
On my Fedora 31, it is just ' ' when nothing is input - so I have no idea which Font it is using :D
Screenshot from 2020-05-18 23-42-07.png
Screenshot from 2020-05-18 23-42-07.png (180.96 KiB) Viewed 1379 times
carlopav
Veteran
Posts: 2059
Joined: Mon Dec 31, 2018 1:49 pm
Location: Venice, Italy

Re: [Discussion] Drafting 2d annotations for architecture

Post by carlopav »

thanks @onekk, I really understand a lot more of how the FCStd format works :)
yorik wrote: Mon May 18, 2020 10:10 am This thread is going really fast and far :D
Well, that's good! :lol:
Regarding "working in 2D". Don't know about you guys, but I really dislike "working in 2D views" like in Revit. This seems to me a gross way to try to make "old-school" architects feel at ease in a 3D application by "faking" that they are working in their favourite old-school CAD program.
I'm really convinced that it's not like this. 2d it's not something old school just because it's 1D less than 3D.
2D it's more conceptual. It's simplified. It's straightforward. It helps to improve the control of the 3d model. I do not think that It's something old fashoned. And I do not think that providing a decent 2d experience has anything to do with trying to mimic some other softwares.
And for 2D I do not mean something far from the 3d space, in a different place, or worse, just an output, but the possibility to work with a 2d view INSIDE the 3d space, and in 3d!

But that's just my opinion. Maybe i'm just living in a https://en.wikipedia.org/wiki/Flatland. :)
I call our world Flatland, not because we call it so, but to make its nature clearer to you, my happy readers, who are privileged to live in Space.
follow my experiments on BIM modelling for architecture design
User avatar
regis
Posts: 725
Joined: Sun Jul 12, 2015 8:17 am
Contact:

Re: [Discussion] Drafting 2d annotations for architecture

Post by regis »

For now i'm just okay with a working solution that can get any serious work done. So if it's 2D fine, if it's 3D fine, but right now techdraw is not a solution.
User avatar
regis
Posts: 725
Joined: Sun Jul 12, 2015 8:17 am
Contact:

Re: [Discussion] Drafting 2d annotations for architecture

Post by regis »

paullee wrote: Mon May 18, 2020 3:43 pm On my Fedora 31, it is just ' ' when nothing is input - so I have no idea which Font it is using
I meant changing the font of any darft annotation text or draft dimensions. is that working on your side?
User avatar
onekk
Veteran
Posts: 5616
Joined: Sat Jan 17, 2015 7:48 am
Contact:

Re: [Discussion] Drafting 2d annotations for architecture

Post by onekk »

Some more advanced infos, hidden in full view on FCstd document

https://wiki.freecadweb.org/File_Format_FCStd

Maybe this could lead to some advancing.

I'm exeprimenting with squlite3 as an interface to hold many objects, the result seem very good, a test creation of 1000 annotation object and a susquent sql query to retrieve those having a specifical styel associate rougly 300 is almost instant done, the powe of the SQL language could be leveraged on doing complex queries and the single file database produced is easily embeddable in the standard doument file.

plus using json serialization, even tuple could be put in the db field, and maybe even more complex objects, as in the data definition is told that using the type BLOB even binary files such images and so on could be included in the file.

It use the standard python3.x libraries as squlite3 is part of them.

Regards

Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
carlopav
Veteran
Posts: 2059
Joined: Mon Dec 31, 2018 1:49 pm
Location: Venice, Italy

Re: [Discussion] Drafting 2d annotations for architecture

Post by carlopav »

onekk wrote: Tue May 19, 2020 2:03 pm I'm exeprimenting with squlite3 as an interface to hold many objects, the result seem very good, a test creation of 1000 annotation object and a susquent sql query to retrieve those having a specifical styel associate rougly 300 is almost instant done, the powe of the SQL language could be leveraged on doing complex queries and the single file database produced is easily embeddable in the standard doument file.

plus using json serialization, even tuple could be put in the db field, and maybe even more complex objects, as in the data definition is told that using the type BLOB even binary files such images and so on could be included in the file.

It use the standard python3.x libraries as squlite3 is part of them.
Carlo, this is just chinese to me... :oops:

realthunder wrote: Thu May 14, 2020 12:20 am I think we shall aim at being able to handle 10K+ objects per session.
@realthunder, @yorik, is this thing onekk is describing something that make sense to you?
follow my experiments on BIM modelling for architecture design
baswein
Posts: 21
Joined: Mon Aug 26, 2019 4:26 pm

Re: [Discussion] Drafting 2d annotations for architecture

Post by baswein »

I'm not sure if this is relevant and I do not understand how all this works but the Geopackage format is based on sqlite but has spatial components that may be useful. https://www.geopackage.org/
In QGIS I think it works similarly to what you are trying to do. The file that QGIS uses to store document information is .qgz (zip) file that contains the files that are used for the document. Most importantly a .qgs (xml) file that coordinates all of the other files. Because in GIS these files that are coordinated tend to be stand alone files that live outside of the .qgz file QGIS uses the data from external files such as a geopackage to label features. Often many thousands of features. There is also a .qgd (sqlite) file in the .qgz file that keeps track of labeling overrides that have been made for this particular QGIS document. https://docs.qgis.org/3.10/en/docs/user ... rmats.html

Just dreaming here-
I am interested in being able to coordinate more between QGIS and FreeCAD and if the file format was based on a geopackage this may allow for that connection although sqlite might work too.
paullee
Veteran
Posts: 4865
Joined: Wed May 04, 2016 3:58 pm

Re: [Discussion] Drafting 2d annotations for architecture

Post by paullee »

regis wrote: Tue May 19, 2020 12:21 am
paullee wrote: Mon May 18, 2020 3:43 pm On my Fedora 31, it is just ' ' when nothing is input - so I have no idea which Font it is using
I meant changing the font of any darft annotation text or draft dimensions. is that working on your side?
Have a quick test - it seems it works :)

Screenshot from 2020-05-20 02-21-04.png
Screenshot from 2020-05-20 02-21-04.png (238.46 KiB) Viewed 1272 times
Screenshot from 2020-05-20 02-21-13.png
Screenshot from 2020-05-20 02-21-13.png (238.76 KiB) Viewed 1272 times
Screenshot from 2020-05-20 02-21-22.png
Screenshot from 2020-05-20 02-21-22.png (238.44 KiB) Viewed 1272 times
Screenshot from 2020-05-20 02-21-40.png
Screenshot from 2020-05-20 02-21-40.png (240.36 KiB) Viewed 1272 times
Screenshot from 2020-05-20 02-21-51.png
Screenshot from 2020-05-20 02-21-51.png (237.3 KiB) Viewed 1272 times
carlopav
Veteran
Posts: 2059
Joined: Mon Dec 31, 2018 1:49 pm
Location: Venice, Italy

Re: [Discussion] Drafting 2d annotations for architecture

Post by carlopav »

baswein wrote: Tue May 19, 2020 4:37 pm Just dreaming here-
I am interested in being able to coordinate more between QGIS and FreeCAD and if the file format was based on a geopackage this may allow for that connection although sqlite might work too.
Hello baswein, nice to have you here :) I've been reading your presentation in community.osarch.org . My compliments for your works, it's really interesting and inspiring.
Thanks for contributing to the discussion... I think we are collecting a lot of interesting ideas and points of view... :D
follow my experiments on BIM modelling for architecture design
User avatar
Kunda1
Veteran
Posts: 13447
Joined: Thu Jan 05, 2017 9:03 pm

Re: [Discussion] Drafting 2d annotations for architecture

Post by Kunda1 »

baswein wrote: Tue May 19, 2020 4:37 pm I am interested in being able to coordinate more between QGIS and FreeCAD
Aside: Thread tracking FreeCAD & QGIS integration
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Post Reply