File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ def _process_dimension_group_fragments(
166166 removeObject = True ,
167167 removeTool = True ,
168168 )
169- self .model_manager .model . occ . synchronize ()
169+ self .model_manager .sync_model ()
170170
171171 # Update current_entity dimtags based on fragment result
172172 if (
@@ -226,8 +226,6 @@ def _process_dimension_group_cuts(
226226
227227 if current_entity .dimtags :
228228 processed_entities .append (current_entity )
229-
230- self .model_manager .model .occ .removeAllDuplicates ()
231229 self .model_manager .sync_model ()
232230 # Clear shared point cache after boolean operations
233231 self ._shared_point_cache .clear ()
Original file line number Diff line number Diff line change @@ -186,6 +186,7 @@ def sync_model(self) -> None:
186186 """Synchronize the OCC model."""
187187 if not self ._is_initialized :
188188 return
189+ self .occ .removeAllDuplicates ()
189190 self .occ .synchronize ()
190191
191192 def clear_and_reinitialize (self , model_name : Optional [str ] = None ) -> None :
You can’t perform that action at this time.
0 commit comments