STL Model Slicing Using Ray Casting for Nested Contour Accuracy
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Inaccurate filling results occur when slicing complicated STL models with nested contours, leading to inaccurate slicing of the STL model.
Innovation Solution
An STL model slicing method that involves reading and loading the STL model, obtaining a slicing plane, cutting the model to obtain a contour curve, judging for solid parts, filling them with white, determining non-solid parts, and projecting the mask onto liquid photosensitive resin using a 3D printer to cure the white parts, while also quantifying voxel information and splitting bitmaps to ensure accurate projection.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Manufacturing precision
If traditional contour filling methods are used for slicing complicated STL models with nested contours, then the slicing process can be completed, but the filling result becomes inaccurate leading to poor printing precision
Solution Approach 1:
The patent uses ray casting to project 3D voxel information onto 2D slice contours, creating an accurate digital copy of the spatial relationships. By casting rays from the observation position through each contour point and tracking intersections with model surfaces, the method creates a reliable 2D representation that preserves the nested contour structure, enabling accurate filling without the errors of traditional methods
Solution Approach 2:
The patent transforms the 3D voxel space into 2D slice contour space through ray casting projection. By changing the dimensionality from three-dimensional model space to two-dimensional slice space, the method enables accurate representation of nested contours and their spatial relationships, solving the filling accuracy problem while maintaining printing precision
2Manufacturing precision
If voxel quantification method is implemented to accurately distinguish voxel region and external region, then printing accuracy is improved, but computational complexity increases
Solution Approach 1:
The patent segments the space into distinct voxel regions and external regions by using ray casting to trace intersections. Each ray's path through the model is divided into segments based on surface intersections, with odd intersections indicating external region and even intersections indicating voxel region. This segmentation approach accurately distinguishes regions while maintaining computational efficiency through systematic processing
Solution Approach 2:
The patent performs preliminary voxel quantification and region classification before the actual slicing and filling operations. By pre-calculating which regions are voxel regions and which are external regions through ray casting, the method prepares accurate spatial information in advance, enabling subsequent slicing operations to proceed with high printing accuracy without repeated computations
Applied Scientific Principles
This section explains which scientific principles are used to turn an abstract innovation direction into a practical engineering solution.
Function Achieved in This Case
This method achieves accurate contour information of the slice bitmap, improving printing accuracy and precision of the 3D printing model by ensuring precise filling and projection.
Implementation Method 1
projecting the mask to liquid photosensitive resin by a first 3D printer, so as to cure the white part into a first cured contour
Data Source
AI summary
An STL model slicing method includes: reading and loading an STL model; obtaining a first slice plane; according to a first set thickness, making the first slice plane be horizontally tangential to an STL model to obtain a first profile curve, which is a profile curve of a tangent plane of the STL model and the first slice plane; determining whether the profile curve contains a physical portion of the STL model; if the profile curve contains the physical portion of the STL model, filling the physical portion with white to obtain a white portion; determining a non-physical portion in the profile curve according to the physical portion; filling the non-physical portion with black to form a mask of the tangent plane; and projecting the mask onto a liquid photosensitive resin by means of a first 3D printer, and then curing the white portion to be a first cured profile.

