Skip to content
Passenger0522· @Passenger0522 · X·· 19 d agoFeaturedAI score79

Ling-3.2-flash tested: building a factory 3D-layout prototype from 2D drawings and CAD data

Editorial summary

The author tested Ling-3.2-flash by organizing factory 2D drawings, CAD coordinates, and equipment outlines into a 3D-layout prototype that can be sliced by level, rotated, selected, and exported as PNG in a browser. The case included 47 pieces of equipment. Two rounds of feedback fixed issues with state synchronization, camera framing, doorway modeling, and floor switching, and the author spot-checked the properties of individual equipment. Machine heights were illustrative values; mechanical details, materials, piping, and site clearances were not recovered, so the prototype cannot be used to judge fire protection, structural loads, or construction plans.

Why it matters

The test demonstrates how to build a verifiable 3D-layout prototype from 2D drawings and CAD data and records functional regressions and boundaries found through multiple rounds of feedback.

Read original text
English translation

What it feels like to build an FDE for your own factory

Previously, if you looked for an external engineering design team or commercial digitalization provider, the quotes were high, the timelines were long, and the upfront sunk costs were simply too great! But the practical problems of factory-floor space layout are extremely urgent: When new equipment arrives or a production line is rearranged, will a machine collide with a load-bearing column? Will the maintenance and operating aisles between two large machines be too narrow? Will workers and forklifts get stuck when entering, exiting, or turning? In the past, you could only pore over 2D CAD drawings and mentally fill in the gaps based on experience. Once you discovered on site that a machine was blocked, moving it and rewiring everything caused enormous losses.

This time, when Bailing released Ling-3.2-flash, I decided to test it once using my own factory’s real drawings and materials: instead of spending 100,000 yuan on an external commercial solution, could a large model directly turn existing floor plans and coordinates into a low-cost prototype of a 3D interactive space that could be freely rotated, sliced by floor, and used to review distances between machines in a browser?

This subject is also easy to verify: the factory’s size, the number of machines, and which side the office is on are all in the original materials, so after the page is generated, each item can be checked one by one.

First, here is the one-layer result in the public version:

The final result was completed after two rounds of revisions.

I. Input materials and task boundaries: do not let the model guess dimensions out of thin air

Bailing’s official name this time is Ling-3.2-flash. According to the official model documentation, it is a natively multimodal model with 560B total parameters and 25B active parameters, supporting a 1M context window. Its key capabilities include complex visual understanding and 3D understanding and interaction. The focus this time was not only understanding text and images, but also using visual feedback to inspect execution results and attempting to adjust and continue when errors or abnormalities occurred.

Applied to my task, the requirements became much more specific: the main factory building’s external dimensions are 54.6×24.6 meters; there are 18 machines on the first floor and 29 on the third floor, for a total of 47; the fourth and fifth floors were left empty for now. Each machine has its own position and shape, and some outlines have cutouts. The offices, door openings, columns, and walls also have corresponding floor-plan data. Replacing the machines with a row of similarly sized blocks that merely looks like a factory would not pass this task.

The input used two original 2D reference images, along with coordinates, dimensions, machine outlines, and building-component data previously extracted from CAD. The original 2D reference images and process screenshots remain in the local test records; the illustrations in this article use a public version with the names anonymized.

Below is the original 2D floor plan for the first floor:

This needs to be made clear:This was a reconstruction test assisted by a 2D drawing and CAD floor-plan data.

The floor-plan dimensions had existing supporting data. Vertical information such as machine heights and floor-to-floor heights used illustrative values. Bailing needed to organize these materials into a 3D scene, but this test did not ask it to infer real dimensions from a single image alone. The old project’s implementation was not provided to it; in this round, it regenerated the page code from scratch.

The complete requirements were roughly as follows:

Based on two 2D reference images and the provided CAD floor-plan data, generate an interactive 3D webpage that preserves the positions, proportions, irregular outlines, and fixed IDs of the 18 machines on the first floor and 29 machines on the third floor; represent the offices, door openings, and columns and walls according to the materials; support floor slicing, rotation, top-down viewing, clicking to inspect properties, and PNG export; label all heights as illustrative; run the code in a local browser; and then revise it based on feedback from actual screenshots.

This time I used the Ant Digital Technology Model Service Platform API, and confirmed that the returned model identifier was ling-3.2-flash.

The work was also divided between tools: Ling-3.2-flash generated and modified the Three.js page code, while Codex prepared the materials and dependencies locally, ran the page, performed operational checks, and sent screenshots and issues back to the model. Therefore, the screenshot feedback that appears later was provided by an external execution tool; Bailing did not directly control the browser during this round of calls, nor did it connect to Blender.

After entering the code-generation test with thinking mode disabled, the first complete response took approximately 94 seconds.

This figure is only the time from one API request to saving the complete response. Connection and mode adjustments came beforehand. One request in the default thinking mode waited for more than eight minutes without producing final code and was then deliberately stopped, so the entire project cannot be described as having been completed in just over a minute.

II. Practical flaws after the initial version ran: details determine whether it is usable

The first complete code version ran successfully locally.

The first floor showed 18 machines, the third floor showed 29, the fourth and fifth floors were empty, and the machines and building components appeared in the scene. The page also had floor buttons, visibility toggles, and an export entry point. At this stage, Bailing delivered a foundation that could be checked further.

Once it was actually operated, problems also emerged.

The first problem was unsynchronized state. After turning off the equipment IDs and switching to the third floor, the equipment IDs reappeared in the scene, while the checkbox on the right still appeared unchecked. This problem is difficult to notice from the default screenshot alone; it occurred when the two actions “turn off the IDs first, then switch floors” were performed in sequence.

The second problem was camera framing. The default desktop view cropped part of the factory, and even less of the area was visible at phone width. The page had indeed generated a 3D scene, but the camera had not fit the entire scene into view.

The third problem was cutting corners in the office modeling. The input provided office wall segments and door openings, but the initial version used a solid box and placed a white plane to represent the door. From a distance it looked like there was a room; up close, the door had not actually been opened, and the interior was not visible.

If the image were only being used to show the general idea, this could probably be overlooked. But this time the topic was spatial layout, so whether a door opening existed already affected how people understood the room.

III. Code regressions caused by revisions: fixing one problem creates another

The first round of feedback focused on these practical issues: preserve the off state when switching floors after the IDs are turned off; frame the camera according to the scene bounds and screen aspect ratio; rebuild the office using the specified wall segments, preserve the actual door opening, leave the top open, and make the interior visible; and add a requirement to the PNG export function so that, after export, the page first displays an image preview and a clearly labeled download link.

After the first revision, the office had been changed to open-top wall segments, and the PNG preview could display the actual image.

Then click the third floor.

The page was still stuck on the first floor.

There was no console error this time, the buttons were still present, and the interface looked normal. Only after checking the code did I discover that the click-event listener for switching floors had been omitted.

It fixed the office and export, but broke the layer-slicing function that had originally worked.

For actual use, this kind of regression needs to be taken seriously. A page may have many requirements, and when several of them are modified, functions that have already passed still need to be rerun.

The camera was also only partially changed. The first round handled part of the framing logic, but on mobile, clicking “3D View” still returned to a fixed distance and cropped the factory again.

So I sent another round of feedback, separately pointing out the failed floor-switching click and the omission in the view buttons, while retaining the office and PNG preview that were already working after the previous round.

IV. Second-round refinement and final deliverable: a genuinely verifiable prototype

After the second round of modifications, switching from the first floor to the third correctly changed the equipment count to 29. The fourth and fifth floors could both be opened and displayed as empty floors.

After turning off the IDs and main walls, then switching floors, the scene and checkboxes retained the corresponding states. The 3D and top-down buttons changed the viewing direction, and dragging rotated the scene. At a mobile width of 390 pixels, the floor and view buttons were accessible, and the main buildings and equipment could be seen in full.

I also spot-checked one specific piece of equipment on the third floor; the public version identifies it as S2-29.

After selecting it, the right side displayed floor-plan dimensions of 5.27×3.59 meters and CAD coordinates of approximately 34.76 and 4.18, consistent with the rounded values in the input materials. Its height of 1.80 meters was marked as illustrative.

This provides one more basis for verification than merely checking whether it is purple or roughly in the right position. However, this time I only spot-checked the properties of a single machine; the geometry of all 47 machines was not measured individually.

The final first-floor and third-floor scenes were both actually exported to PNG. After saving, I opened them to confirm that the images were non-empty and showed the scene. The export size in the original measured version was 980×668, which depended on the canvas size at the time; the export size in the later public version will vary with the canvas.

This is the top-down view of the third floor:

At this point, I redesigned the webpage’s interactions once again.

For external presentation, the original 47 machines, building outlines, and positional relationships were retained, while the equipment names, categories, and IDs were replaced with generic names. This means readers still open the same specific scene described earlier and can follow the process in the article.

This change focused on how the page is operated: when viewing the whole scene, you can explicitly choose “Rotate View” or “Pan View.” The former changes the viewing direction, while the latter moves the image to the area you want to see. The scroll wheel and “+” and “−” control zooming, while the top-down, 3D, and reset-view controls remain alongside them. The equipment itself can also be adjusted. When a machine is selected, position and angle input fields appear on the right. The direction buttons move it by 0.5 meters each time, and the rotation buttons rotate it by 15 degrees each time. You can also enter X, Y, and the angle directly, then click “Apply Position and Angle”; the equipment, ID, and selection box update accordingly.

I also checked this part in practice. After selecting the machine with the anonymized ID S2-29, moving it half a meter to the right and rotating it 15 degrees changed its position and angle on the page. Entering a new position and a 45-degree angle also applied them to the scene. Clicking “Restore Original Equipment Layout” returned the machine to its initial position and angle.

The mobile buttons and equipment-adjustment panel were also checked and could be operated at a width of 390 pixels.

Layout adjustments only take effect on the current page and do not change the scene seen by other visitors. Refreshing the page or clicking the restore button returns it to the initial layout. Readers can try moving a machine, changing its angle, and then restoring it themselves.

The division of labor should also be clarified here: the earlier 3D prototype and its two rounds of feedback revisions were tested with Ling-3.2-flash. The later operation controls, equipment-position and angle adjustments, name anonymization, and website deployment were subsequently completed by Codex on top of this prototype. They are later product changes and are not counted as the result of Bailing’s initial one-time generation. The original layout remains preserved as the initial plan.

V. A rational review: what it can and cannot do

I think this version can now be used for an initial layout presentation.

When you have 2D drawings and coordinate data, Bailing can organize them into a page that supports floor switching, rotation, and selection. You can discuss where a particular machine is, whether it will block passage or crowd a column, which side the office is on, and how the floors differ, all while looking at the same scene.

Going from a 2D floor plan to this kind of operable spatial view does provide a genuinely low-cost way to communicate.

However, the machines are currently created mainly by extruding the 2D outlines upward. Real mechanical parts, surface materials, interfaces, and piping have not been restored, and the heights are only illustrative. It cannot be used to determine on-site clearance, much less to confirm fire-safety, load-bearing, or construction plans. The official documentation also points out that there is still room for improvement in maintaining long-range cross-application state, complex 3D reasoning, and 3D detail fidelity.

Some minor issues also remain in Bailing’s original tested version. After selecting equipment and switching floors, the floating tooltip from the previous floor sometimes remains briefly and disappears after the pointer is moved. The main-wall toggle also does not cover all fixed components such as the office, there is blank space in the view, and the colors and lighting lean toward a functional prototype.

So I would treat it as a layout prototype that can continue to be discussed and revised. To enter an engineering or detailed-asset workflow, it still needs additional materials, item-by-item verification, and professional processing.

VI. Practical takeaways for cross-border and physical businesses, plus official hands-on access points

For cross-border business, the area most worth exploring further this time is spatial communication tasks based on floor-plan materials.

For example, if a warehouse already has shelf dimensions and area divisions, can you create a layout page that can be viewed by clicking? Or if a supplier provides packaging structure and dimensions, can you first make a simplified prototype and place the subject of discussion in a single view?

These are directions extended from this factory case and still require separate testing. Warehouse layout would need aisle and equipment conditions added, while packing would need constraints such as quantity, orientation, and load-bearing capacity verified. This time, warehouse optimization and real packing calculations were not completed.

For cross-border e-commerce and physical-business teams, I would rather start with a specific small task like this: use materials with a clear basis to make something, open it, operate it, and then decide whether to proceed to the next step.

This experience also made me pay more attention to whether feedback is specific enough: if the factory is cropped, provide the actual screen dimensions and screenshot; if the ID state is wrong, clearly describe the two actions “turn off the IDs and then switch to the third floor”; if the office is made into a solid box, point out that the original materials already contain wall segments and door openings.

This feedback lets the model continue revising around a clearly defined issue. After two rounds of modifications, the current version passed practical checks for floor counting, floor-switching visibility, rotation, view switching, single-machine properties, and image export. But the regression in the first round also reminded me that every time something is modified, already functioning features need to be clicked through again.

If you also want to try it yourself, choose an official access point according to your preferred way of creating:

Suitable for online trials and conversational testing: Ling Studio official trial website After logging in as instructed on the page, be sure to confirm that the model version currently being called is Ling-3.2-flash. The Blender or complex automated-agent workflows shown in the official demonstrations do not mean that the web conversation interface directly includes all plugins. It is recommended that you choose tasks according to your actual environment.

Suitable for developer code integration and API testing: Ant Digital Technology Model Service official website The platform provides standardized API interfaces and usage instructions. Permissions, billing, and quotas are subject to the platform’s real-time information.

Reference for the official release announcement: https://mp.weixin.qq.com/s/k1AUP6MNS0zqtcc92idrcg

Source: Passenger0522 · x.com