import of openscad file fails

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
chrisb
Veteran
Posts: 53945
Joined: Tue Mar 17, 2015 9:14 am

Re: import of openscad file fails

Post by chrisb »

NormandC wrote: Sun Apr 15, 2018 6:46 pm No-no, moderators such as chrisb can move a topic.
I had seen in the error report that Kunda recommended to create it in Open Discussion so I left it there. Now I have moved it.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
boelle
Posts: 28
Joined: Sun Sep 03, 2017 12:31 pm

Re: import of openscad file fails

Post by boelle »

small correction

when i open the scad file i remove these lines at the end of the file

Code: Select all

if(1)
    y_motor_assembly();
else
this is so that openscad only creates the bracket that i'm interested in

should look like this in openscad: https://imgur.com/a/0xnJP

in freecad it looks like this: https://imgur.com/a/sinjS

Code: Select all

Cannot find icon: python
Cannot find icon: python
ECHO: "DiBond:"
ECHO: "base screw length", 16
ECHO: "frame screw length", 16

WARNING: Token 'DOT' defined, but not used
WARNING: Token 'WORD' defined, but not used
WARNING: There are 2 unused tokens
End processing CSG file
processing square007
successfully exported c:\users\boher\appdata\local\temp\fc-00576-286419-000002.dxf
processing square008
successfully exported c:\users\boher\appdata\local\temp\fc-00576-286496-000003.dxf
processing intersection001
successfully exported c:\users\boher\appdata\local\temp\fc-00576-286499-000004.dxf
opening c:\users\boher\appdata\local\temp\fc-00576-286503-000005.dxf...
drawing 5 lines...
skipping texts...
skipping dimensions...
skipping points...
skipping leaders...
skipping hatches...
skipping *blocks...
done processing
successfully imported c:\users\boher\appdata\local\temp\fc-00576-286503-000005.dxf
processing square004
successfully exported c:\users\boher\appdata\local\temp\fc-00576-286637-000006.dxf
processing square005
successfully exported c:\users\boher\appdata\local\temp\fc-00576-286638-000007.dxf
processing intersection
successfully exported c:\users\boher\appdata\local\temp\fc-00576-286639-000008.dxf
opening c:\users\boher\appdata\local\temp\fc-00576-286641-000009.dxf...
drawing 5 lines...
skipping texts...
skipping dimensions...
skipping points...
skipping leaders...
skipping hatches...
skipping *blocks...
done processing
successfully imported c:\users\boher\appdata\local\temp\fc-00576-286641-000009.dxf
processing square010
successfully exported c:\users\boher\appdata\local\temp\fc-00576-286716-000010.dxf
processing square011
successfully exported c:\users\boher\appdata\local\temp\fc-00576-286717-000011.dxf
processing intersection002
successfully exported c:\users\boher\appdata\local\temp\fc-00576-286717-000012.dxf
opening c:\users\boher\appdata\local\temp\fc-00576-286719-000013.dxf...
drawing 5 lines...
skipping texts...
skipping dimensions...
skipping points...
skipping leaders...
skipping hatches...
skipping *blocks...
done processing
successfully imported c:\users\boher\appdata\local\temp\fc-00576-286719-000013.dxf
processing square013
successfully exported c:\users\boher\appdata\local\temp\fc-00576-286797-000014.dxf
processing square014
successfully exported c:\users\boher\appdata\local\temp\fc-00576-286799-000015.dxf
processing intersection003
successfully exported c:\users\boher\appdata\local\temp\fc-00576-286799-000016.dxf
opening c:\users\boher\appdata\local\temp\fc-00576-286800-000017.dxf...
drawing 5 lines...
skipping texts...
skipping dimensions...
skipping points...
skipping leaders...
skipping hatches...
skipping *blocks...
done processing
successfully imported c:\users\boher\appdata\local\temp\fc-00576-286800-000017.dxf
processing square025
successfully exported c:\users\boher\appdata\local\temp\fc-00576-286843-000018.dxf
processing square026
successfully exported c:\users\boher\appdata\local\temp\fc-00576-286844-000019.dxf
processing intersection009
successfully exported c:\users\boher\appdata\local\temp\fc-00576-286846-000020.dxf
opening c:\users\boher\appdata\local\temp\fc-00576-286852-000021.dxf...
drawing 5 lines...
skipping texts...
skipping dimensions...
skipping points...
skipping leaders...
skipping hatches...
skipping *blocks...
done processing
successfully imported c:\users\boher\appdata\local\temp\fc-00576-286852-000021.dxf
processing square022
successfully exported c:\users\boher\appdata\local\temp\fc-00576-286886-000022.dxf
processing square023
successfully exported c:\users\boher\appdata\local\temp\fc-00576-286886-000023.dxf
processing intersection008
successfully exported c:\users\boher\appdata\local\temp\fc-00576-286887-000024.dxf
opening c:\users\boher\appdata\local\temp\fc-00576-286889-000025.dxf...
drawing 5 lines...
skipping texts...
skipping dimensions...
skipping points...
skipping leaders...
skipping hatches...
skipping *blocks...
done processing
successfully imported c:\users\boher\appdata\local\temp\fc-00576-286889-000025.dxf
processing square016
successfully exported c:\users\boher\appdata\local\temp\fc-00576-286921-000026.dxf
processing square017
successfully exported c:\users\boher\appdata\local\temp\fc-00576-286921-000027.dxf
processing intersection006
successfully exported c:\users\boher\appdata\local\temp\fc-00576-286923-000028.dxf
opening c:\users\boher\appdata\local\temp\fc-00576-286923-000029.dxf...
drawing 5 lines...
skipping texts...
skipping dimensions...
skipping points...
skipping leaders...
skipping hatches...
skipping *blocks...
done processing
successfully imported c:\users\boher\appdata\local\temp\fc-00576-286923-000029.dxf
processing square019
successfully exported c:\users\boher\appdata\local\temp\fc-00576-286964-000030.dxf
processing square020
successfully exported c:\users\boher\appdata\local\temp\fc-00576-286966-000031.dxf
processing intersection007
successfully exported c:\users\boher\appdata\local\temp\fc-00576-286967-000032.dxf
opening c:\users\boher\appdata\local\temp\fc-00576-286969-000033.dxf...
drawing 5 lines...
skipping texts...
skipping dimensions...
skipping points...
skipping leaders...
skipping hatches...
skipping *blocks...
done processing
successfully imported c:\users\boher\appdata\local\temp\fc-00576-286969-000033.dxf
processing circle003
successfully exported c:\users\boher\appdata\local\temp\fc-00576-288292-000034.dxf
processing square003
successfully exported c:\users\boher\appdata\local\temp\fc-00576-288294-000035.dxf
opening c:\users\boher\appdata\local\temp\fc-00576-288296-000036.dxf...
drawing 9 lines...
skipping texts...
skipping dimensions...
skipping points...
skipping leaders...
skipping hatches...
skipping *blocks...
done processing
successfully imported c:\users\boher\appdata\local\temp\fc-00576-288296-000036.dxf
processing circle
successfully exported c:\users\boher\appdata\local\temp\fc-00576-288345-000037.dxf
processing square
successfully exported c:\users\boher\appdata\local\temp\fc-00576-288347-000038.dxf
opening c:\users\boher\appdata\local\temp\fc-00576-288347-000039.dxf...
drawing 9 lines...
skipping texts...
skipping dimensions...
skipping points...
skipping leaders...
skipping hatches...
skipping *blocks...
done processing
successfully imported c:\users\boher\appdata\local\temp\fc-00576-288347-000039.dxf
processing circle002
successfully exported c:\users\boher\appdata\local\temp\fc-00576-288406-000040.dxf
processing square002
successfully exported c:\users\boher\appdata\local\temp\fc-00576-288407-000041.dxf
opening c:\users\boher\appdata\local\temp\fc-00576-288409-000042.dxf...
drawing 9 lines...
skipping texts...
skipping dimensions...
skipping points...
skipping leaders...
skipping hatches...
skipping *blocks...
done processing
successfully imported c:\users\boher\appdata\local\temp\fc-00576-288409-000042.dxf
processing circle001
successfully exported c:\users\boher\appdata\local\temp\fc-00576-288485-000043.dxf
processing square001
successfully exported c:\users\boher\appdata\local\temp\fc-00576-288486-000044.dxf
opening c:\users\boher\appdata\local\temp\fc-00576-288487-000045.dxf...
drawing 9 lines...
skipping texts...
skipping dimensions...
skipping points...
skipping leaders...
skipping hatches...
skipping *blocks...
done processing
successfully imported c:\users\boher\appdata\local\temp\fc-00576-288487-000045.dxf
not a freecad file: .SCAD
ECHO: "DiBond:"
ECHO: "base screw length", 16
ECHO: "frame screw length", 16

End processing CSG file
processing circle001
successfully exported c:\users\boher\appdata\local\temp\fc-00576-321201-000047.dxf
processing square001
successfully exported c:\users\boher\appdata\local\temp\fc-00576-321202-000048.dxf
opening c:\users\boher\appdata\local\temp\fc-00576-321205-000049.dxf...
drawing 9 lines...
skipping texts...
skipping dimensions...
skipping points...
skipping leaders...
skipping hatches...
skipping *blocks...
done processing
successfully imported c:\users\boher\appdata\local\temp\fc-00576-321205-000049.dxf
processing circle002
successfully exported c:\users\boher\appdata\local\temp\fc-00576-321260-000050.dxf
processing square002
successfully exported c:\users\boher\appdata\local\temp\fc-00576-321261-000051.dxf
opening c:\users\boher\appdata\local\temp\fc-00576-321261-000052.dxf...
drawing 9 lines...
skipping texts...
skipping dimensions...
skipping points...
skipping leaders...
skipping hatches...
skipping *blocks...
done processing
successfully imported c:\users\boher\appdata\local\temp\fc-00576-321261-000052.dxf
processing circle003
successfully exported c:\users\boher\appdata\local\temp\fc-00576-321300-000053.dxf
processing square003
successfully exported c:\users\boher\appdata\local\temp\fc-00576-321300-000054.dxf
opening c:\users\boher\appdata\local\temp\fc-00576-321302-000055.dxf...
drawing 9 lines...
skipping texts...
skipping dimensions...
skipping points...
skipping leaders...
skipping hatches...
skipping *blocks...
done processing
successfully imported c:\users\boher\appdata\local\temp\fc-00576-321302-000055.dxf
processing circle
successfully exported c:\users\boher\appdata\local\temp\fc-00576-321355-000056.dxf
processing square
successfully exported c:\users\boher\appdata\local\temp\fc-00576-321356-000057.dxf
opening c:\users\boher\appdata\local\temp\fc-00576-321356-000058.dxf...
drawing 9 lines...
skipping texts...
skipping dimensions...
skipping points...
skipping leaders...
skipping hatches...
skipping *blocks...
done processing
successfully imported c:\users\boher\appdata\local\temp\fc-00576-321356-000058.dxf
not a freecad file: .SCAD
not a freecad file: .SCAD
not a freecad file: .SCAD
not a freecad file: .SCAD
ECHO: "DiBond:"
ECHO: "base screw length", 16
ECHO: "frame screw length", 16

End processing CSG file
processing circle003
successfully exported c:\users\boher\appdata\local\temp\fc-00576-331217-000060.dxf
processing square003
successfully exported c:\users\boher\appdata\local\temp\fc-00576-331219-000061.dxf
opening c:\users\boher\appdata\local\temp\fc-00576-331220-000062.dxf...
drawing 9 lines...
skipping texts...
skipping dimensions...
skipping points...
skipping leaders...
skipping hatches...
skipping *blocks...
done processing
successfully imported c:\users\boher\appdata\local\temp\fc-00576-331220-000062.dxf
processing circle001
successfully exported c:\users\boher\appdata\local\temp\fc-00576-331261-000063.dxf
processing square001
successfully exported c:\users\boher\appdata\local\temp\fc-00576-331261-000064.dxf
opening c:\users\boher\appdata\local\temp\fc-00576-331263-000065.dxf...
drawing 9 lines...
skipping texts...
skipping dimensions...
skipping points...
skipping leaders...
skipping hatches...
skipping *blocks...
done processing
successfully imported c:\users\boher\appdata\local\temp\fc-00576-331263-000065.dxf
processing circle002
successfully exported c:\users\boher\appdata\local\temp\fc-00576-331310-000066.dxf
processing square002
successfully exported c:\users\boher\appdata\local\temp\fc-00576-331310-000067.dxf
opening c:\users\boher\appdata\local\temp\fc-00576-331311-000068.dxf...
drawing 9 lines...
skipping texts...
skipping dimensions...
skipping points...
skipping leaders...
skipping hatches...
skipping *blocks...
done processing
successfully imported c:\users\boher\appdata\local\temp\fc-00576-331311-000068.dxf
processing circle
successfully exported c:\users\boher\appdata\local\temp\fc-00576-331345-000069.dxf
processing square
successfully exported c:\users\boher\appdata\local\temp\fc-00576-331346-000070.dxf
opening c:\users\boher\appdata\local\temp\fc-00576-331346-000071.dxf...
drawing 9 lines...
skipping texts...
skipping dimensions...
skipping points...
skipping leaders...
skipping hatches...
skipping *blocks...
done processing
successfully imported c:\users\boher\appdata\local\temp\fc-00576-331346-000071.dxf
not a freecad file: .SCAD
keithsloan52
Veteran
Posts: 2756
Joined: Mon Feb 27, 2012 5:31 pm

Re: import of openscad file fails

Post by keithsloan52 »

You could try loading the SCAD file in OpenSCAD and then exporting to CSG.
Then open the CSG in FreeCAD
boelle
Posts: 28
Joined: Sun Sep 03, 2017 12:31 pm

Re: import of openscad file fails

Post by boelle »

sadly same outcome :-(
keithsloan52
Veteran
Posts: 2756
Joined: Mon Feb 27, 2012 5:31 pm

Re: import of openscad file fails

Post by keithsloan52 »

boelle wrote: Sun Apr 15, 2018 8:55 pm sadly same outcome :-(
Can you post the CSG file?
boelle
Posts: 28
Joined: Sun Sep 03, 2017 12:31 pm

Re: import of openscad file fails

Post by boelle »

Code: Select all

group();
group();
group();
group() {
	multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 4], [0, 0, 0, 1]]) {
		group() {
			multmatrix([[-1, 0, 0, 0], [0, 1, 0, 0], [0, 0, -1, 0], [0, 0, 0, 1]]) {
				group() {
					group() {
						group() {
							group();
						}
						color([0, 1, 0, 1]) {
							difference() {
								multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, -17.5], [0, 0, 0, 1]]) {
									cube(size = [74, 44, 43], center = true);
								}
								cylinder($fn = 0, $fa = 5, $fs = 0.5, h = 9, r1 = 11.2, r2 = 11.2, center = true);
								multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, -21.5], [0, 0, 0, 1]]) {
									cube(size = [43, 45, 43], center = true);
								}
								multmatrix([[1, 0, 0, -37], [0, 1, 0, 9], [0, 0, 1, 0], [0, 0, 0, 1]]) {
									cube(size = [22, 44, 86], center = true);
								}
								multmatrix([[1, 0, 0, 37], [0, 1, 0, 9], [0, 0, 1, 0], [0, 0, 0, 1]]) {
									cube(size = [22, 44, 86], center = true);
								}
								multmatrix([[1, 0, 0, 0], [0, 1, 0, -13], [0, 0, 1, -39], [0, 0, 0, 1]]) {
									group() {
										multmatrix([[1, 0, 0, 0], [0, 0.707107, -0.707107, 0], [0, 0.707107, 0.707107, 0], [0, 0, 0, 1]]) {
											group() {
												multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, -21.5], [0, 0, 0, 1]]) {
													cube(size = [74, 132, 43], center = true);
												}
											}
										}
									}
								}
								group() {
									group() {
										multmatrix([[1, 0, 0, -15.5], [0, 1, 0, -15.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
											group() {
												cylinder($fn = 7, $fa = 5, $fs = 0.5, h = 9, r1 = 1.93136, r2 = 1.93136, center = true);
											}
										}
										multmatrix([[1, 0, 0, -15.5], [0, 1, 0, 15.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
											group() {
												cylinder($fn = 7, $fa = 5, $fs = 0.5, h = 9, r1 = 1.93136, r2 = 1.93136, center = true);
											}
										}
									}
									group() {
										multmatrix([[1, 0, 0, 15.5], [0, 1, 0, -15.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
											group() {
												cylinder($fn = 7, $fa = 5, $fs = 0.5, h = 9, r1 = 1.93136, r2 = 1.93136, center = true);
											}
										}
										multmatrix([[1, 0, 0, 15.5], [0, 1, 0, 15.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
											group() {
												cylinder($fn = 7, $fa = 5, $fs = 0.5, h = 9, r1 = 1.93136, r2 = 1.93136, center = true);
											}
										}
									}
								}
								group() {
									multmatrix([[1, 0, 0, -26], [0, 1, 0, 22], [0, 0, 1, 0], [0, 0, 0, 1]]) {
										group() {
											multmatrix([[0, 1, 0, 0], [-1, 0, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
												group() {
													group() {
														multmatrix([[1, 0, 0, 1.5], [0, 1, 0, 1.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
															difference() {
																cube(size = [3.01, 3.01, 100], center = true);
																multmatrix([[1, 0, 0, 1.5], [0, 1, 0, 1.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
																	cylinder($fn = 0, $fa = 5, $fs = 0.5, h = 101, r1 = 3, r2 = 3, center = true);
																}
															}
														}
													}
												}
											}
										}
									}
									multmatrix([[1, 0, 0, 26], [0, 1, 0, 22], [0, 0, 1, 0], [0, 0, 0, 1]]) {
										group() {
											multmatrix([[-1, 0, 0, 0], [0, -1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]]) {
												group() {
													group() {
														multmatrix([[1, 0, 0, 1.5], [0, 1, 0, 1.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
															difference() {
																cube(size = [3.01, 3.01, 100], center = true);
																multmatrix([[1, 0, 0, 1.5], [0, 1, 0, 1.5], [0, 0, 1, 0], [0, 0, 0, 1]]) {
																	cylinder($fn = 0, $fa = 5, $fs = 0.5, h = 101, r1 = 3, r2 = 3, center = true);
																}
															}
														}
													}
												}
											}
										}
									}
								}
								group() {
									group() {
										group() {
											multmatrix([[1, 0, 0, -30.55], [0, 1, 0, -17], [0, 0, 1, -32.5], [0, 0, 0, 1]]) {
												group() {
													multmatrix([[1, 0, 0, 0], [0, 0, 1, 0], [0, -1, 0, 0], [0, 0, 0, 1]]) {
														group() {
															group() {
																group() {
																	multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 4], [0, 0, 0, 1]]) {
																		group() {
																			render(convexity = 5) {
																				union() {
																					group() {
																						group() {
																							group() {
																								group() {
																									render(convexity = 5) {
																										linear_extrude(height = 200, center = true, convexity = 2, scale = [1, 1], $fn = 0, $fa = 5, $fs = 0.5) {
																											group() {
																												hull() {
																													circle($fn = 0, $fa = 5, $fs = 0.5, r = 2.3);
																													group() {
																														multmatrix([[1, 0, 0, 0], [0, 1, 0, 1.15], [0, 0, 1, 0], [0, 0, 0, 1]]) {
																															square(size = [1.90538, 2.3], center = true);
																														}
																													}
																												}
																											}
																										}
																									}
																								}
																							}
																						}
																						cylinder($fn = 6, $fa = 5, $fs = 0.5, h = 8, r1 = 4.15, r2 = 4.15, center = true);
																					}
																				}
																			}
																		}
																	}
																}
															}
														}
													}
												}
											}
											multmatrix([[1, 0, 0, -30.55], [0, 1, 0, -17], [0, 0, 1, -2.5], [0, 0, 0, 1]]) {
												group() {
													multmatrix([[1, 0, 0, 0], [0, 0, 1, 0], [0, -1, 0, 0], [0, 0, 0, 1]]) {
														group() {
															group() {
																group() {
																	multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 4], [0, 0, 0, 1]]) {
																		group() {
																			render(convexity = 5) {
																				union() {
																					group() {
																						group() {
																							group() {
																								group() {
																									render(convexity = 5) {
																										linear_extrude(height = 200, center = true, convexity = 2, scale = [1, 1], $fn = 0, $fa = 5, $fs = 0.5) {
																											group() {
																												hull() {
																													circle($fn = 0, $fa = 5, $fs = 0.5, r = 2.3);
																													group() {
																														multmatrix([[1, 0, 0, 0], [0, 1, 0, 1.15], [0, 0, 1, 0], [0, 0, 0, 1]]) {
																															square(size = [1.90538, 2.3], center = true);
																														}
																													}
																												}
																											}
																										}
																									}
																								}
																							}
																						}
																						cylinder($fn = 6, $fa = 5, $fs = 0.5, h = 8, r1 = 4.15, r2 = 4.15, center = true);
																					}
																				}
																			}
																		}
																	}
																}
															}
														}
													}
												}
											}
										}
										group() {
											multmatrix([[1, 0, 0, 30.55], [0, 1, 0, -17], [0, 0, 1, -32.5], [0, 0, 0, 1]]) {
												group() {
													multmatrix([[1, 0, 0, 0], [0, 0, 1, 0], [0, -1, 0, 0], [0, 0, 0, 1]]) {
														group() {
															group() {
																group() {
																	multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 4], [0, 0, 0, 1]]) {
																		group() {
																			render(convexity = 5) {
																				union() {
																					group() {
																						group() {
																							group() {
																								group() {
																									render(convexity = 5) {
																										linear_extrude(height = 200, center = true, convexity = 2, scale = [1, 1], $fn = 0, $fa = 5, $fs = 0.5) {
																											group() {
																												hull() {
																													circle($fn = 0, $fa = 5, $fs = 0.5, r = 2.3);
																													group() {
																														multmatrix([[1, 0, 0, 0], [0, 1, 0, 1.15], [0, 0, 1, 0], [0, 0, 0, 1]]) {
																															square(size = [1.90538, 2.3], center = true);
																														}
																													}
																												}
																											}
																										}
																									}
																								}
																							}
																						}
																						cylinder($fn = 6, $fa = 5, $fs = 0.5, h = 8, r1 = 4.15, r2 = 4.15, center = true);
																					}
																				}
																			}
																		}
																	}
																}
															}
														}
													}
												}
											}
											multmatrix([[1, 0, 0, 30.55], [0, 1, 0, -17], [0, 0, 1, -2.5], [0, 0, 0, 1]]) {
												group() {
													multmatrix([[1, 0, 0, 0], [0, 0, 1, 0], [0, -1, 0, 0], [0, 0, 0, 1]]) {
														group() {
															group() {
																group() {
																	multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 4], [0, 0, 0, 1]]) {
																		group() {
																			render(convexity = 5) {
																				union() {
																					group() {
																						group() {
																							group() {
																								group() {
																									render(convexity = 5) {
																										linear_extrude(height = 200, center = true, convexity = 2, scale = [1, 1], $fn = 0, $fa = 5, $fs = 0.5) {
																											group() {
																												hull() {
																													circle($fn = 0, $fa = 5, $fs = 0.5, r = 2.3);
																													group() {
																														multmatrix([[1, 0, 0, 0], [0, 1, 0, 1.15], [0, 0, 1, 0], [0, 0, 0, 1]]) {
																															square(size = [1.90538, 2.3], center = true);
																														}
																													}
																												}
																											}
																										}
																									}
																								}
																							}
																						}
																						cylinder($fn = 6, $fa = 5, $fs = 0.5, h = 8, r1 = 4.15, r2 = 4.15, center = true);
																					}
																				}
																			}
																		}
																	}
																}
															}
														}
													}
												}
											}
										}
									}
								}
							}
						}
					}
				}
			}
		}
	}
}
Attachments
y-motor-bracket.csg
(10.89 KiB) Downloaded 32 times
keithsloan52
Veteran
Posts: 2756
Joined: Mon Feb 27, 2012 5:31 pm

Re: import of openscad file fails

Post by keithsloan52 »

test.csg
(10.61 KiB) Downloaded 35 times
test.FCStd
(220.34 KiB) Downloaded 31 times
To me it looks the same apart from the "tear drop" holes.

Are you able to produce a simpler test case with just a single "tear drop" in some solid?
Is so please post the SCAD file.
boelle
Posts: 28
Joined: Sun Sep 03, 2017 12:31 pm

Re: import of openscad file fails

Post by boelle »

sadly no

the openscad files or not mine either
keithsloan52
Veteran
Posts: 2756
Joined: Mon Feb 27, 2012 5:31 pm

Re: import of openscad file fails

Post by keithsloan52 »

Looks like the function that creates them uses either a function called nut_trap or more likely teardrop_plus

Do you know which scad file these functions are defined in ?

Could you use grep to find out.
boelle
Posts: 28
Joined: Sun Sep 03, 2017 12:31 pm

Re: import of openscad file fails

Post by boelle »

the nut traps are ok so i would vote for teardrop also

grep, nope i'm on windows... but i can try and look for the file anyway
Post Reply