Two commands were created for cooperation with third-party developers who are not ready to program AutoCAD plugins, but can create a web server that will respond to web requests, receive the dimensions of the overall boxes of various products and provide data for constructing models or flat drawings of these products.
At the moment, one such server is already working, created by exhibition engineer Yuri Klishin - "Projector". The server is currently operating in experimental mode and can be used by anyone who has the AVC Pro plugin, without additional payment. In the future, you will need to pay for the server separately.
BoxToWall - Wall from a box: requests the original overall boxes and creates assembly blocks from solid parts. At the moment, the "Projector" server creates only "КС1" frame walls. The command was created specifically for exhibition companies that design partitions for exhibition stands on a plywood/chipboard frame with MDF/chipboard cladding. As initial data, it is required to draw the overall solids of each wall section.
BoxToVector - Vectors from a box. The command creates flat assembly drawings based on an overall box or a block created by the BoxToWall command. At the moment, the "Projector" server only creates drawings of frame walls КС1.
If you want to create a similar server for your products, then the source codes (GitHub) of the C# classes used in these commands may be useful to you. For consultations, contact avc.programming@gmail.com.
The BoxToWall and BoxToVector commands are not supplied as a separate plugin, but are included in the AVC Pro collection.
Pre-set the options of the BoxFromTable command, as these programs have common settings. Set up the server address to http://acadapi.vars.ru to process data with Yuri Klishin's program Projector.
You can customize the layer on which the finished wall blocks will be placed.
Create one or more box solids in the size of the future wall sections. Boxes with the same dimensions and materials will become the same assembly block.
Assign a material to the box. This material will be used as the wall frame material. Assign the thickness of this material via the AVC Properties Palette. This thickness will be used instead of the default.
Assign a material to the front and back surfaces of the solid. These materials and their thicknesses will be used to create wall sheathing sheets. If the materials are not specified, the program will create a frame without sheathing.
Mark the front side with a color if this is not the largest wall surface. Use the "Mark as Front" checkbox in the AVC Properties Palette.
Give names and descriptions to the boxes. They will become the names of the assembly blocks. If the name is not specified, the block name template from the Assembly (AsmCreate) command settings will be used.
Enable the display of the Kind property in the AVC Properties palette settings and specify one of the valid product codes. At this point you can leave the field blank or write "КС1". Follow the updates on the "Projector" website.
Select all boxes at once and call BoxToWall.
The program will transfer the dimensions and materials of the walls to the web server. The server URL is specified in the BoxFromTable settings. If you want to create your own web server to create other products according to your rules, write to technical support at avc.programming@gmail.com
For questions related to wall detailing, contact the web server developer. This server does not belong to AVC and is a third-party development.
When the program receives a response from the server, you will see it in the message in the command line.
Based on the details received from the server, the program will build solids at the origin of the model coordinates. To do this, call the BoxFromTable command. Perhaps you will have time to notice the construction process.
Then the DRI drilling program will be called (if specified in the settings).
Then the program for creating blocks-assemblies AsmCreate is called. All the initial data about the wall will be written to the constant attributes of the blocks. The finished blocks will be placed in the places where the solids were. All the initial solid boxes will be deleted.
This command is designed to build a flat drawing of a wall section.
Select solid boxes configured as for BoxToWall. Or select blocks created by the BoxToWall command. In this case, the dimensions and materials will be taken from the attributes of these blocks.
The boxes in the Kind property or the blocks in the Kind attribute must have a valid product code "КС1" written, etc.
The program will transfer the dimensions and materials of the walls to the web server. The server URL is specified in the BoxFromTable settings.
When the program receives a response from the server, you will see it in the message in the command line.
For now, the drawing is being built in the model in the free space below. In the next version, sheets will be created.