POINTCLOUD E57 GDL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-05-15
09:00 AM
- last edited on
2022-09-26
10:52 PM
by
Daniel Kassai
I' have created my first GDL tool. It is a empty object which use CALL command to import my pointcloud to be able in the second time to turn, scale, cut the pointcloud which is already inside my library.
I've found POINTCLOUD command into the GDL guide without understanding the difference between POINTCLOUD and CALL command. Should I use POINTCLOUD command instead of the CALL command ?
Archicad Designer and Teacher
Archicad 15 to 28 FRA FULL
OS 13 Ventura - MacBook Pro M2 max- 32Go RAM
"Quality is never an accident ; it's always the result of an intelligent effort" John Ruskin
Solved! Go to Solution.
- Labels:
-
Library (GDL)
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-05-28 04:48 PM
When you import an e57, archicad generates an LCF and links this resource from the location of type: Documents / Graphisoft / Point cloud / file.lcf
When we open this LCF we find the famous GSPC (GraphiSoftPointCloud I imagine) which corresponds to 99.99% of the weight of the LCF and a small mobile phone of a few KB. This LCF contains this :

We find in the 3D script of the GSM command GDL POINTCLOUD which is used by Archicad to insert the GSPC (translation of the e57 I imagine). The POINTCLOUD command is therefore inherent in the import of an E57 because the GSM includes the following 3D script :
unID = 3000 hotspot 0, 0, 0, unID : unID = unID + 1 hotspot A, 0, 0, unID : unID = unID + 1 hotspot A, B, 0, unID : unID = unID + 1 hotspot 0, B, 0, unID : unID = unID + 1 hotspot A/2, B/2, 0, unID : unID = unID + 1 hotspot 0, 0, ZZYZX, unID : unID = unID + 1 hotspot A, 0, ZZYZX, unID : unID = unID + 1 hotspot A, B, ZZYZX, unID : unID = unID + 1 hotspot 0, B, ZZYZX, unID : unID = unID + 1 hotspot A/2, B/2, ZZYZX, unID : unID = unID + 1 if bProject2D then addz _upperCutPlaneHeight cutplane{2} 0, 1 del 1 addz _lowerCutPlaneHeight rotx 180 cutplane{2} 0, 1 del 2 endif _scale3DModelX = scaleX * _scaleOriginalSize _scale3DModelY = scaleY * _scaleOriginalSize _scale3DModelZ = scaleZ * _scaleOriginalSize mul _scale3DModelX, _scale3DModelY, _scale3DModelZ POINTCLOUD "Maison-Nuage_data.gspc" del 1 ! Delete Scaling if bProject2D then cutend cutend endifWe do not directly use the POINTCLOUD command but it is in fact requested when working with a point cloud.
When I call via the CALL command an LCF send from an E57 in reality the POINTCLOUD command is also requested because it is in the GSM.
So my question was wrong.
Archicad Designer and Teacher
Archicad 15 to 28 FRA FULL
OS 13 Ventura - MacBook Pro M2 max- 32Go RAM
"Quality is never an accident ; it's always the result of an intelligent effort" John Ruskin

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-05-17 03:14 AM
1. Use PointCloud for point clouds
2. Calls to use macros
Differences:
1. Point cloud will render your point cloud in the 3D model
2. Call, is to call a macro (a gsm file) that will execute a predefined procedure that is common in +1 files, that can be static or parametric, hence is the options for sending predefined values for macro's parameters and the possibility of receiving results from the macro using returned_parameters

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-05-17 08:58 PM
I've tried to use POINTCLOUD command without success after 5 tries (by caling gsm, lcf and e57 files) 😕
I'm able to call lcf/gsm about pointcloud with CALL command
I'm able to see it in 2D views and 3D model
I do not understand the aim of POINTCLOUD command.

Archicad Designer and Teacher
Archicad 15 to 28 FRA FULL
OS 13 Ventura - MacBook Pro M2 max- 32Go RAM
"Quality is never an accident ; it's always the result of an intelligent effort" John Ruskin

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-05-18 06:52 PM
Try to place a Point Cloud in ARCHICAD. The Point Cloud data will be converted to a GDL Object. Then you will be able to open that object and hopefully see how the POINTCLOUD command is used there.
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-05-18 10:32 PM
So I had to write :
POINTCLOUD "Scan_data.gspc"But I do not understand the aim of POINTCLOUD command.

Archicad Designer and Teacher
Archicad 15 to 28 FRA FULL
OS 13 Ventura - MacBook Pro M2 max- 32Go RAM
"Quality is never an accident ; it's always the result of an intelligent effort" John Ruskin

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-05-19 03:30 PM
Pointcloud is to load the loaded pointcloud to the model

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-05-19 04:52 PM
We should import pointcloud before using POINTCLOUD command (like CALL command) so it have to be a special aim but which ?
Archicad Designer and Teacher
Archicad 15 to 28 FRA FULL
OS 13 Ventura - MacBook Pro M2 max- 32Go RAM
"Quality is never an accident ; it's always the result of an intelligent effort" John Ruskin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-05-28 04:48 PM
When you import an e57, archicad generates an LCF and links this resource from the location of type: Documents / Graphisoft / Point cloud / file.lcf
When we open this LCF we find the famous GSPC (GraphiSoftPointCloud I imagine) which corresponds to 99.99% of the weight of the LCF and a small mobile phone of a few KB. This LCF contains this :

We find in the 3D script of the GSM command GDL POINTCLOUD which is used by Archicad to insert the GSPC (translation of the e57 I imagine). The POINTCLOUD command is therefore inherent in the import of an E57 because the GSM includes the following 3D script :
unID = 3000 hotspot 0, 0, 0, unID : unID = unID + 1 hotspot A, 0, 0, unID : unID = unID + 1 hotspot A, B, 0, unID : unID = unID + 1 hotspot 0, B, 0, unID : unID = unID + 1 hotspot A/2, B/2, 0, unID : unID = unID + 1 hotspot 0, 0, ZZYZX, unID : unID = unID + 1 hotspot A, 0, ZZYZX, unID : unID = unID + 1 hotspot A, B, ZZYZX, unID : unID = unID + 1 hotspot 0, B, ZZYZX, unID : unID = unID + 1 hotspot A/2, B/2, ZZYZX, unID : unID = unID + 1 if bProject2D then addz _upperCutPlaneHeight cutplane{2} 0, 1 del 1 addz _lowerCutPlaneHeight rotx 180 cutplane{2} 0, 1 del 2 endif _scale3DModelX = scaleX * _scaleOriginalSize _scale3DModelY = scaleY * _scaleOriginalSize _scale3DModelZ = scaleZ * _scaleOriginalSize mul _scale3DModelX, _scale3DModelY, _scale3DModelZ POINTCLOUD "Maison-Nuage_data.gspc" del 1 ! Delete Scaling if bProject2D then cutend cutend endifWe do not directly use the POINTCLOUD command but it is in fact requested when working with a point cloud.
When I call via the CALL command an LCF send from an E57 in reality the POINTCLOUD command is also requested because it is in the GSM.
So my question was wrong.
Archicad Designer and Teacher
Archicad 15 to 28 FRA FULL
OS 13 Ventura - MacBook Pro M2 max- 32Go RAM
"Quality is never an accident ; it's always the result of an intelligent effort" John Ruskin