«CAD» εδώ δεν είναι το πρόγραμμα σχεδίασης. Είναι το σημείο όπου η γεωμετρία παύει να είναι εικόνα και γίνεται αρχείο που κατασκευάζεται: κάτι που θα το διαβάσει άλλο πρόγραμμα, θα το παραλάβει άλλη εταιρεία και θα καταλήξει σε μηχανή. Από εκεί και πέρα το ερώτημα δεν είναι αν το σχήμα είναι ωραίο, αλλά αν κλείνει.“CAD” here is not the drafting application. It is the point where geometry stops being a picture and becomes a file that gets manufactured: something another program will read, another company will receive, and a machine will end up cutting. From there on the question is not whether the shape is beautiful, but whether it closes.
Το κυρίαρχο μοντέλο είναι η οριακή αναπαράσταση (B-rep): ένα στερεό δεν αποθηκεύεται ως όγκος, αλλά ως οι επιφάνειες που το φράζουν — συνήθως NURBS patches, κομμένα με καμπύλες αποκοπής — μαζί με την τοπολογία που λέει ποιο συνορεύει με ποιο. Η τοπολογία δηλώνει «αυτά τα δύο μοιράζονται ακμή». Η γεωμετρία από κάτω σχεδόν ποτέ δεν συμφωνεί ακριβώς μαζί της.The dominant model is the boundary representation (B-rep): a solid is not stored as a volume but as the surfaces that bound it — usually trimmed NURBS patches — together with the topology that says which one adjoins which. The topology declares “these two share an edge”. The geometry underneath almost never agrees with it exactly.
A
Τα patchesThe patches
Κάθε επιφάνεια έχει δική της παραμετροποίηση και δικό της διάνυσμα κόμβων. Δύο γειτονικές δεν μοιράζονται παράμετρο — μοιράζονται μόνο μια περιοχή του χώρου, όπου η καθεμία υπολογίζεται ξεχωριστά.Every surface carries its own parameterisation and its own knot vector. Two neighbours share no parameter — only a region of space, where each is evaluated independently.
B
Η τοπολογίαThe topology
Το γράφημα που λέει ποια έδρα ακουμπάει ποια, μέσω ποιας ακμής και ποιας κορυφής. Είναι δήλωση πρόθεσης, όχι μέτρηση: γράφεται μία φορά και δεν επαληθεύεται σε κάθε αποτίμηση.The graph that says which face touches which, through which edge and which vertex. It is a statement of intent, not a measurement: written once, and not re-checked at every evaluation.
C
Η ανοχήThe tolerance
Ο αριθμός που συμφιλιώνει τα δύο προηγούμενα. Λέει «αν απέχουν λιγότερο από τόσο, θεώρησέ τα ενωμένα». Δεν είναι σφάλμα ούτε αστοχία — είναι παράμετρος του αρχείου, και κάθε επόμενο βήμα την ξαναδιαβάζει με δικά του μάτια.The number that reconciles the two above. It says “if they are closer than this, treat them as joined”. It is neither an error nor a failure — it is a parameter of the file, and every downstream step reads it with its own eyes.
Γι’ αυτό το «στεγανό» ενός μοντέλου CAD είναι τοπολογικό, όχι γεωμετρικό. Το αρχείο λέει ότι οι έδρες ενώνονται· οι επιφάνειες από κάτω απλώς πλησιάζουν αρκετά. Η διαφορά δεν έχει σημασία στην οθόνη και έχει τεράστια σημασία στη μηχανή — και είναι ακριβώς αυτό που δείχνει το διάγραμμα από κάτω.This is why “watertight” in a CAD model is topological, not geometric. The file states that the faces join; the surfaces underneath merely come close enough. The difference does not matter on screen and matters enormously on the machine — and that is exactly what the diagram below shows.
Ανοχή στο παράδειγμαTolerance in the example
0.01 mm
Σε κομμάτιOn a part of
200 mm
ΛόγοςRatio
1:20.000
Γεωμετρικά στεγανόGeometrically watertight
όχιno
ΠεριγραφήDescription
Η ρωγμή που δεν κλείνειThe crack that never closesκομμάτι 200 mm200 mm part
Δύο patchesTwo patches ·
κοινή ακμή «μέσα σε ανοχή» — στεγανό: όχιshared edge “within tolerance” — watertight: no
οι κορυφές της ραφήςthe seam verticesη επιφάνειαthe surface
Στο ×1 τα δύο μισά είναι ίδια. Σύρε τη μεγέθυνση: αριστερά ανοίγει διάκενο που δεν έκλεισε ποτέ — απλώς ήταν μικρότερο από ένα pixel. Ο μετρητής «Ανοχή» δεν κουνιέται όσο κι αν μεγεθύνεις, γιατί δεν είναι σφάλμα σχεδίασης: είναι ο αριθμός με τον οποίο γράφτηκε το αρχείο. Δεξιά δεν υπάρχει τίποτα να ανοίξει, γιατί δεν υπάρχουν δύο σημεία — υπάρχει ένα.At ×1 the two halves are identical. Drag the zoom: on the left a gap opens that never closed — it was simply smaller than one pixel. The “Tolerance” counter does not move however far you zoom, because it is not a modelling mistake: it is the number the file was written with. On the right there is nothing to open, because there are not two points — there is one.
Η ανοχήThe tolerance0.01 mm σε κομμάτι 200 mm είναι καλή ανοχή, όχι κακή. Το ζήτημα δεν είναι το μέγεθός της· είναι ότι υπάρχει, και ότι κάθε επόμενο βήμα — τεσσελίωση, πλεγματοποίηση, εκτύπωση — πρέπει να την ξαναδιαπραγματευτεί.0.01 mm on a 200 mm part is a good tolerance, not a bad one. The issue is not its size; it is that it exists, and that every downstream step — tessellation, meshing, printing — has to negotiate it again.
Ούτε καν G1Not even G1Στο αριστερό μισό οι δύο εφαπτομένες διαφέρουν κατά 1.1°. Η συνέχεια θέσης είναι «μέσα σε ανοχή», η συνέχεια εφαπτομένης δεν είναι καν αυτό — και φαίνεται μόλις πλησιάσεις.On the left the two tangents differ by 1.1°. Positional continuity is “within tolerance”; tangent continuity is not even that — and it shows the moment you get close.
Γιατί όχι δεξιάWhy not on the rightΗ στεγανότητα εκεί δεν επιτυγχάνεται, προκύπτει: τα δύο κομμάτια μοιράζονται την ίδια κορυφή στο ίδιο αρχείο. Δεν υπάρχει δεύτερη τιμή για να αποκλίνει από την πρώτη.Watertightness there is not achieved, it falls out: the two pieces share the same vertex in the same file. There is no second value to drift from the first.
Και δεν είναι μόνο η ραφή. Τα patches ενός στερεού είναι σχεδόν πάντα κομμένα: η ωφέλιμη περιοχή τους ορίζεται από καμπύλες αποκοπής που ζουν στον παραμετρικό χώρο της επιφάνειας και αποθηκεύονται και αυτές κατά προσέγγιση, με τη δική τους ανοχή. Άρα το «μέσα σε ανοχή» συμβαίνει δύο φορές στο ίδιο σημείο: μία στο πού τελειώνει η επιφάνεια και μία στο πού αρχίζει η γειτονική.And it is not only the seam. The patches of a solid are almost always trimmed: their useful region is bounded by trimming curves that live in the surface’s parameter space and are themselves stored approximately, with a tolerance of their own. So “within tolerance” happens twice at the same place: once for where the surface ends, once for where its neighbour begins.
Μια επιφάνεια υποδιαίρεσης δεν έχει αυτό το πρόβλημα, επειδή δεν έχει ραφές να έχει: το πλέγμα ελέγχου είναι ένα, οι κορυφές είναι κοινές εξ ορισμού, και η οριακή επιφάνεια βγαίνει ενιαία σε όποια ανάλυση τη ζητήσεις. Δεν σημαίνει όμως ότι η υποδιαίρεση αντικαθιστά τα NURBS στην κατασκευή: για τη μηχανολογική φάση η γεωμετρία συνήθως μεταφράζεται, και η μετάφραση ξαναφέρνει ανοχή. Η υποδιαίρεση μετακινεί το πρόβλημα προς τα κάτω — δεν το σβήνει.A subdivision surface does not have this problem, because it has no seams to have it with: there is one control cage, the vertices are shared by definition, and the limit surface comes out single at whatever resolution you ask for. That does not mean subdivision replaces NURBS for manufacturing: for the engineering phase the geometry is usually translated, and translation brings a tolerance back. Subdivision moves the problem downstream — it does not delete it.
ΠαραδείγματαExamples
Η ανοχή δεν μπαίνει μία φορά. Μπαίνει σε κάθε βήμα που ξαναγράφει τη γεωμετρία, και κάθε βήμα έχει δικαίωμα να διαλέξει δική του. Τρεις στιγμές όπου αυτό γίνεται ορατό:Tolerance is not introduced once. It is introduced at every step that rewrites the geometry, and every step is entitled to pick its own. Three moments where that becomes visible:
A
Το STEP που άνοιξεThe STEP file that opened up
Εξάγεις σε ουδέτερη μορφή — STEP (ISO 10303) ή, παλαιότερα, IGES — και ο παραλήπτης το διαβάζει με άλλο πυρήνα και άλλη ανοχή. Ό,τι ήταν «ενωμένο» στο ένα σύστημα μπορεί να φτάσει ως δύο ξεχωριστές έδρες στο άλλο. Το μοντέλο δεν χάλασε στη μεταφορά· απλώς κρίθηκε με άλλο κριτήριο.You export to a neutral format — STEP (ISO 10303) or, historically, IGES — and the recipient reads it with a different kernel and a different tolerance. What was “joined” in one system can arrive as two separate faces in the other. The model did not break in transit; it was simply judged by a different criterion.
B
SubD μέσα στο CADSubD inside CAD
Τα εργαλεία CAD δεν αγνόησαν την υποδιαίρεση: το Rhino την αποθηκεύει ως ξεχωριστό τύπο SubD στο openNURBS, και το Fusion δίνει ελεύθερη μορφοποίηση με T-Splines πριν τη μετατροπή σε στερεό. Η ροή είναι «μορφή πρώτα, ανοχή μετά» — και όσο μένεις στη μορφή, ραφές δεν υπάρχουν.CAD tools did not ignore subdivision: Rhino stores it as a distinct SubD type in openNURBS, and Fusion offers free-form modelling with T-Splines before conversion to a solid. The workflow is “form first, tolerance later” — and while you stay in the form, there are no seams.
C
Η τεσσελίωση για τη μηχανήTessellation for the machine
Στο τέλος καμία μηχανή δεν διαβάζει NURBS: το μοντέλο γίνεται τρίγωνα ή διαδρομές κοπής, με τρίτη ανοχή — το βέλος χορδής. Αν είναι χαλαρότερη από την ανοχή του αρχείου, τα διάκενα της ραφής μεγαλώνουν αντί να κλείσουν, και το «στεγανό» στερεό βγάζει τρύπες στο slicer.In the end no machine reads NURBS: the model becomes triangles or toolpaths, with a third tolerance — the chord height. If it is looser than the file’s own, the seam gaps grow instead of closing, and the “watertight” solid shows holes in the slicer.
Πού μπαίνει ανοχή σε έναν κύκλο CADWhere tolerance enters a CAD cycle
Η καμπύλη αποκοπής αποθηκεύεται κατά προσέγγιση στον παραμετρικό χώρο — δεύτερη ανοχή, στο ίδιο σημείο.The trimming curve is stored approximately in parameter space — a second tolerance, at the same place.
ανταλλαγήexchange
STEP / IGES: ο παραλήπτης ξαναχτίζει την τοπολογία με δικό του κριτήριο.STEP / IGES: the recipient rebuilds the topology by its own criterion.
τεσσελίωσηtessellation
Το βέλος χορδής για render, STL ή CNC — ανεξάρτητο από τα προηγούμενα.Chord height for render, STL or CNC — independent of everything above.
πλεγματοποίησηmeshing
Και μετά η ανάλυση φτιάχνει άλλο πλέγμα, με δικό της σφάλμα — CAE.And then analysis builds another mesh, with an error of its own — CAE.
Τι αλλάζει η υποδιαίρεση και τι όχι. Αλλάζει το πρώτο και το δεύτερο βήμα: χωρίς patches δεν υπάρχουν ραφές να συμφωνήσουν, και χωρίς αποκοπή δεν υπάρχει δεύτερη προσέγγιση στο ίδιο όριο. Δεν αλλάζει το τέταρτο: η μηχανή θα ζητήσει πάλι τρίγωνα. Το κέρδος είναι ότι τα τρίγωνα παράγονται από μία ενιαία επιφάνεια σε όποια πυκνότητα χρειάζεται, αντί να συρραφθούν από κομμάτια που δεν συναντιούνται. Το ερώτημα μετακινείται από «κλείνει;» σε «πόσο πυκνά;» — και αυτό είναι ερώτημα με απάντηση.What subdivision changes, and what it does not. It changes steps one and two: with no patches there are no seams to agree, and with no trimming there is no second approximation of the same boundary. It does not change step four: the machine will still ask for triangles. The gain is that the triangles are generated from one single surface at whatever density is needed, instead of being stitched from pieces that do not meet. The question moves from “does it close?” to “how densely?” — and that one has an answer.
Έχετε γεωμετρία που πρέπει να είναι και λεία και ελεγχόμενη;Have geometry that must be both smooth and controllable?
Πείτε μας τι φτιάχνετε και θα σας πούμε αν η υποδιαίρεση είναι το σωστό εργαλείο — και αν όχι, ποιο είναι.Tell us what you are building and we will tell you whether subdivision is the right tool — and if not, what is.