three.js Plane()对象有.intersectLine()方法。
我需要检索三个平面的交点。名为.intersectPlanes(plane_A,plane_B)的方法是完美的,但未实现。
你知道如何获得交叉点吗?
谢谢!
答案 0 :(得分:0)
我已经在另一篇文章中回答了这个问题:
Finding the intersection point of a bundle of planes (3) in three.js
import requests
from bs4 import BeautifulSoup
import csv
class JobInformation:
def __init__(self):
self.job_information = []
self.job_information_dict = {}
def get_data(self):
for i in range(50):
id = 10
URL ='https://www.indeed.com/jobs?q=%22cable+technician%22&radius=25&sort=date{id}'
page = requests.get(URL)
soup = BeautifulSoup(page.content, 'html.parser')
job_elements = soup.find_all(class_="jobsearch-SerpJobCard")
for job_element in job_elements:
job_title = job_element.find('a', class_='jobtitle')
job_company = job_element.find(class_="company")
job_summary = job_element.find(class_='summary')
job_location = job_element.find(class_='location')
job_date_posted = job_element.find(class_='date')
self.job_information_dict = {
'title': job_title.text.strip(),
'company': job_company.text.strip(),
'summary': job_summary.text.strip(),
'location': job_location.text.strip(),
'date': job_date_posted.text.strip(),
}
self.job_information.append(self.job_information_dict)
f = open('jobinfo.csv', 'w')
fieldnames = ['title', 'company',
'summary', 'location', 'date']
with f:
writer = csv.DictWriter(f, fieldnames=fieldnames)
writer.writeheader()
for self.data in self.job_information:
writer.writerow(self.data)
print("Writing to csv successful...")
id = +10
ji = JobInformation()
ji.get_data()