No need of block is needed for PythonCAD
The Layer structure of the program (Not olready present in the user interface) will have a tree structure.
So with this tree structure you do not need the layer as in autocad.
As soon we will deliver the layer interface it will be more clear how it works.
Regards,
Matteo
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hmmm, seems quite difficult to understand for me....
according to the wiki...
A Block is a group of entities. Blocks can be inserted into the same graphic more than once with different Attributes and different locations, scaling factors and rotation angles (see Figure 2). Such an instance of a block is usually called an Insert. Inserts have attributes just like entities and layers. An Entity that is part of an Insert can have its own attributes or share the attributes of the Insert. Once created, Inserts are still linked to the Block they instantiate. The power of inserts is, that you can modify the Block once and all Inserts will be updated accordingly.
how can layers in a tree structure substitute this entity... (i thought with a tree structure we could only achieve grouping objects)?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
No need of block is needed for PythonCAD
The Layer structure of the program (Not olready present in the user interface) will have a tree structure.
So with this tree structure you do not need the layer as in autocad.
As soon we will deliver the layer interface it will be more clear how it works.
Regards,
Matteo
hmmm, seems quite difficult to understand for me....
according to the wiki...
A Block is a group of entities. Blocks can be inserted into the same graphic more than once with different Attributes and different locations, scaling factors and rotation angles (see Figure 2). Such an instance of a block is usually called an Insert. Inserts have attributes just like entities and layers. An Entity that is part of an Insert can have its own attributes or share the attributes of the Insert. Once created, Inserts are still linked to the Block they instantiate. The power of inserts is, that you can modify the Block once and all Inserts will be updated accordingly.
how can layers in a tree structure substitute this entity... (i thought with a tree structure we could only achieve grouping objects)?